Spec-Zone.ru › C++

std::time_t

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

time
returns the current time of the system as time since epoch
(function)
localtimelocaltime_r
(C++26)
converts time since epoch to calendar time expressed as local time
(function)
gmtimegmtime_r
(C++26)
converts time since epoch to calendar time expressed as Universal Coordinated Time
(function)
to_time_t
[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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/chrono/c/time_t

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API