std::chrono...e::to_local(3)
π NAME π
std::chrono::time_zone::to_local - std::chrono::time_zone::to_local
okay so this page is std::chrono...e::to_local(3) from the C++ Standard Libary manual, and itβs literally all about std::chrono::time_zone::to_local π
β¨
β¨ Synopsis β¨
hereβs the signature, bestie β copied exactly, no cap:
template< class Duration >
auto to_local( const std::chrono::sys_time<Duration>& tp ) const
(since
C++20)
-> std::chrono::local_time<std::common_type_t<Duration,
std::chrono::seconds>>;
It 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 β¨
thatβs the whole vibe, bestie β source/version is http://cppreference.com, date is 2024.06.10, and the page is std::chrono...e::to_local(3) πΈπ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms