◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The gmtime function converts the <timer> value to a structure. The <timer> argument represents the seconds elapsed since midnight (00:00:00), December 31, 1899, Universal Coordinated Time. This value is usually obtained from a call to the time function. The gmtime function breaks down the <timer> value and stores it in a structure of type tm (defined in TIME.H). The structure result reflects Universal Coordinated Time, not local time. See: tm The gmtime, mktime, and localtime functions use a single statically allocated structure to hold the result. Each call to one of these routines destroys the result of the previous call. Return Value The gmtime function returns a pointer to the structure result. If <timer> represents a date prior to midnight, December 31, 1899, gmtime returns NULL. -♦-