VMS Help CC, Run-time functions, gmtime, gmtime_r *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Converts the time (in seconds since the Epoch) pointed to by timer into a broken-down time, expressed as Coordinated Universal Time (UTC). Note: The name of this function was originally defined to return the time expressed as GMT (Greenwich Mean Time); its definition was changed to reflect current technical standard terminology. gmtime_r puts the result into a user-specified buffer. gmtime puts the result into thread-specific static memory allocated by the Compaq C RTL, which can be overwritten by subsequent calls to gmtime; you must make a copy if you want to save it. Syntax: #include <time.h> struct tm *gmtime (const time_t *timer); struct tm *gmtime_r(const time_t *timer, struct tm *result); [posix1]
|