Converts a time value to a structure.
#include <time.h> struct tm *gmtime (const time_t *timer);
timer
gmtime breaks down the timer value and stores it in at TM. The structure result reflects GMT, not local time.
gmtime, mktime, and localtime use a single statically allocated structure to hold the result. Subsequent calls to these functions destroy the result of any previous call.
A pointer to the TM structure.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/time.h | time.h | clib.lib |
mktime, localtime, asctime, time, TIME.H for description of TM structure