Manpage of GMTIME
GMTIME
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
8.5 `gmtime'--convert time to UTC traditional form
SYNOPSIS
#include <time.h>
struct tm *gmtime(const time_t *CLOCK);
struct tm *gmtime_r(const time_t *CLOCK, struct tm *RES);
DESCRIPTION
`gmtime' assumes the time at CLOCK represents a local time. `gmtime'
converts it to UTC (Universal Coordinated Time, also known in some
countries as GMT, Greenwich Mean time), then converts the
representation from the arithmetic representation to the traditional
representation defined by `struct tm'.
`gmtime' constructs the traditional time representation in static
storage; each call to `gmtime' or `localtime' will overwrite the
information generated by previous calls to either function.
RETURNS
A pointer to the traditional time representation (`struct tm').
PORTABILITY
ANSI C requires `gmtime'.
`gmtime' requires no supporting OS subroutines.
SEE ALSO
gmtime
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:18 GMT, May 16, 2005
www.fiveanddime.net