gmtime [C++ Reference]
Keywords: c,date,gmtime
Date: 2008-10-14T15:42:00-0700

[[gmtime]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## gmtime

Syntax:

        #include <ctime>
        struct tm *gmtime( const time_t *time );

The gmtime() function returns the given time in Coordinated Universal Time (usually Greenwich mean time), unless it's not supported by the system, in which case NULL is returned. Watch out for static_return.

Related Topics: asctime, ctime, difftime, localtime, mktime, strftime, time

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •