C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
gmtime
 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.
                                    -♦-