Difference between revisions of "cpp/chrono/c/gmtime"
From cppreference.com
m (Text replace - "{{returns}}" to "===Return value===") |
m (Text replace - "{{params}}" to "===Parameters===") |
||
Line 8: | Line 8: | ||
<!-- ======== --> | <!-- ======== --> | ||
− | + | ===Parameters=== | |
{{param list begin}} | {{param list begin}} | ||
{{param list item | time | pointer to a time_t object to convert}} | {{param list item | time | pointer to a time_t object to convert}} |
Revision as of 17:35, 2 August 2011
Defined in header <ctime>
|
||
struct tm *gmtime( const time_t *time ); |
||
Converts given time since epoch as time_t
value into calendar time, expressed in Coordinated Universal Time (UTC).
Parameters
time | - | pointer to a time_t object to convert |
Return value
pointer to a static internal tm
object on success, or Template:cpp otherwise. The structure is shared between gmtime()
and localtime()
and is overwritten on each invocation.
This section is incomplete Reason: no example |