Synopsis
#include <time.h>
struct tm *gmtime(const time_t *tp);
struct tm *gmtime_r(const time_t *tp, struct tm *result);
Description

gmtime converts the *tp time format to a struct tm time format. The returned value points to a static object - this function is not re-entrant.

gmtime_r is a re-entrant version of gmtime, the returned value points to the object *result.

See also

struct tm