Difference between revisions of "cpp/chrono/c/time t"
From cppreference.com
m |
m (→See also: + chrono::to_time_t) |
||
Line 13: | Line 13: | ||
{{dsc inc | cpp/chrono/c/dsc localtime}} | {{dsc inc | cpp/chrono/c/dsc localtime}} | ||
{{dsc inc | cpp/chrono/c/dsc gmtime}} | {{dsc inc | cpp/chrono/c/dsc gmtime}} | ||
+ | {{dsc inc | cpp/chrono/system_clock/dsc to_time_t}} | ||
{{dsc see c | c/chrono/time_t}} | {{dsc see c | c/chrono/time_t}} | ||
{{dsc end}} | {{dsc end}} | ||
{{langlinks|de|es|fr|it|ja|pt|ru|zh}} | {{langlinks|de|es|fr|it|ja|pt|ru|zh}} |
Revision as of 09:17, 29 May 2021
Defined in header <ctime>
|
||
typedef /* unspecified */ time_t; |
||
Arithmetic type capable of representing times.
Although not defined, this is almost always an 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) | |
[static] |
converts a system clock time point to std::time_t (public static member function of std::chrono::system_clock )
|
C documentation for time_t
|