NAME

gmtime - convert a time value to a broken-down UTC time

SYNOPSIS

#include "zkTime.h"

struct tm *gmtime(const time_t *timer);

DESCRIPTION

The gmtime() function converts the calendar time pointed to by timer into a broken-down time, expressed as Coordinated Universal Time (UTC).

The gmtime() interface need not be reentrant.

RETURN VALUE

The gmtime() function returns a pointer to a struct tm.

ERRORS

No errors are defined.

APPLICATION USAGE

The asctime(), ctime(), gmtime() and localtime() functions return values in one of two static objects: a broken-down time structure and an array of char. Execution of any of the functions may overwrite the information returned in either of these objects by any of the other functions.