On this page
std::chrono::time_zone::to_local
|
(since C++20) |
Converts the sys_time tp to the corresponding local_time in this time zone.
Return value
The local_time associated with tp and this time zone.
Notes
The precision of the result is at least std::chrono::seconds, and will be finer if the argument has finer precision.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/chrono/time_zone/to_local