up: programming - c - time related  
programming:c:timeWhat links here?
time_t time ( time_t * timer );
Get current time

Get the current calendar time as a time_t object.

The function returns this value, and if the argument is not a null pointer, the value is also set to the object pointed by timer.



Parameters



Return Value

The current calendar time as a time_t object. If the argument is not a null pointer, the return value is the same as the one stored in the location pointed by the argument.

If the function could not retrieve the calendar time, it returns a -1 value.

Value returned is the number of seconds since midnight Jan 1, 1970 GMT.

www.cplusplus.com
programming:c:time
filename:programming:c:time
filename:programming%3Ac%3Atime
last edit:October 09 2009 21:10:36 (5746 days ago)
ct = 1751593822.000000 = July 03 2025 21:50:22
ft = 1255137036.000000 = October 09 2009 21:10:36
dt = 496456786.000000