|  | ||
| 
 | 
 struct tm *gmtime( time_t *tp ) 
 time_t *tp; /* address of time value */ 
 
 | 
 | 
| Synopsis | #include "time.h" 
 The gmtime function converts the time_t pointed to by tp into a struct tm , whose members represent a time in Greenwich Mean Time. 
 | 
 | 
| Parameters | tp is the address of a time_t containing a time value, as obtained by time . 
 | 
 | 
| Return Value | gmtime returns a pointer to a static struct tm if successful, which may be overwritten by subsequent calls to gmtime or localtime; and NULL if not. 
 | 
 | 
| See Also | 
 | 
 | 
| 
 | 
 |