The gmtime function

Name

gmtime -- 

Synopsis

#include <time.h>

struct tm *gmtime (const time *timer);

Description

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

Returns

The gmtime function returns a pointer to that object, or a null pointer if UTC is not available.