Functions HI-TECH C GMTIME
GMTIME, LOCALTIME
SYNOPSIS
#include <time.h> struct tm * gmtime(time_t * t) struct tm * localtime(time_t * t)
DESCRIPTION
These functions convert the time pointed to by t which is in seconds since 00:00:00 on Jan 1, 1970, into a broken down time stored in a structure as defined in time.h. Gmtime() performs a straight conversion, while localtime() takes into account the contents of the glo- bal integer time_zone. This should contain the number of minutes that the local time zone is WESTWARD of Greenwich. Since there is no way under MS-DOS of actually pre-determining this value, by default localtime() will return the same result as gmtime().
SEE ALSO
ctime, asctime, time