![]() |
![]()
| ![]() |
![]()
NAMEstd::chrono::system_clock::to_time_t - std::chrono::system_clock::to_time_t Synopsisstatic std::time_t to_time_t( const time_point& t ) noexcept; (since C++11)
Parameterst - system clock time point to convert Return valueA std::time_t value representing t. ExampleGet the current time as a std::time_t two ways. // Run this code
Possible output:oldt-newt == -3 s See also from_time_t converts std::time_t to a system clock time point
|