Defined in header <ctime>
time_t time( std::time_t *time );
Returns the current calendar time encoded as a std::time_t object.
|time||-||pointer to a std::time_t object to store the time in or NULL|
The encoding of calendar time in std::time_t is unspecified, but most systems conform to POSIX specification and return a value of integral type holding the number of seconds since the Epoch. Implementations in which std::time_t is a 32-bit signed integer (many historical implementations) fail in the year 2038.
Wed Sep 21 10:27:52 2011 1316615272 seconds since the Epoch
| converts time since epoch to calendar time expressed as local time |
| converts time since epoch to calendar time expressed as Universal Coordinated Time |
| wall clock time from the system-wide realtime clock |