programming.nbk: Home | Index | Next Page: Tk | Previous Page: time_t mktime(struct tm* timeptr);
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.
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.
programming.nbk: Home | Index | Next Page: Tk | Previous Page: time_t mktime(struct tm* timeptr);
Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time