Possible Duplicate:
C++ standard date/time class
I want to know how to use the date and time with the appropriate data types in c++. Is there any inbuilt functions for calculating the date and time difference etc. Is there any data type which supports this kind of operation??
Thanks in advance.
For C++11, have a look at Chrono
For C++03, the same can be found in Boost.Chrono