Is there some appication note that explain about library time.h?
Yes. It's called the compiler manual. It comes with the tools. In it you can find descriptions for the functions in the libraries.