Difference between revisions of "cpp/chrono/c/time t"
From cppreference.com
m (Update links.) |
(mention leap seconds) |
||
Line 6: | Line 6: | ||
Arithmetic type capable of representing times. | Arithmetic type capable of representing times. | ||
− | Although not defined, this is almost always a integral value holding the number of seconds since 00:00, Jan 1 1970 UTC, corresponding to [[enwiki:Unix_time | POSIX time]]. | + | Although not defined, this is almost always a integral value holding the number of seconds (not counting leap seconds) since 00:00, Jan 1 1970 UTC, corresponding to [[enwiki:Unix_time | POSIX time]]. |
===See also=== | ===See also=== |
Revision as of 02:04, 8 August 2013
Defined in header <ctime>
|
||
typedef /* unspecified */ time_t; |
||
Arithmetic type capable of representing times.
Although not defined, this is almost always a integral value holding the number of seconds (not counting leap seconds) since 00:00, Jan 1 1970 UTC, corresponding to POSIX time.
See also
returns the current time of the system as time since epoch (function) | |
converts time since epoch to calendar time expressed as local time (function) | |
converts time since epoch to calendar time expressed as Universal Coordinated Time (function) | |
C documentation for time_t
|