(C) 1998 AROS - The Amiga Research OS


NAME
#include <time.h>

struct tm * gmtime ()

SYNOPSIS
const time_t * tt

FUNCTION
The gmtime() function converts the calendar time tt to broken-down time representation, expressed in Coordinated Universal Time (UTC).

INPUTS
tt
The time to convert

RESULT
The broken down time in Coordinated Universal Time (UTC).

EXAMPLE
time_t	    tt;
struct tm * tm;

// Get the time
time (&tt);

// and convert it
tm = gmtime (&tt);
SEE ALSO
time(), ctime(), asctime(), localtime()

NOTES

BUGS

INTERNALS
Rules for leap-years:

1. every 4th year is a leap year

2. every 100th year is none

3. every 400th is one

4. 1900 was none, 2000 is one

HISTORY
20.10.1998 hkiel
Amiga Research OS
29.01.1997 digulla
Added most time functions