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 (5322 days ago)
ct = 1714979674.000000 = May 06 2024 03:14:34
ft = 1255137036.000000 = October 09 2009 21:10:36
dt = 459842638.000000