std::chrono...local_time,(3)
Hey bestie π welcome to the std::chrono...local_time,(3) page from the C++ Standard Libary (yes, that's the spelling in the header β iconic). This is your group-chat rundown of getting a local time out of a zoned_time. Let's gooo β¨
π NAME π
Okay so the names on this page are:
std::chrono::zoned_time::operatorlocal_time, -std::chrono::zoned_time::operatorlocal_time,
Both listed, no cap. π«Ά
β¨ Synopsis β¨
Two forms, both since C++20:
std::chrono::local_time<duration> get_local_time() const;β since C++20 πΈexplicit operator std::chrono::local_time<duration>() const;β since C++20 πΈ
What it does: obtains a std::chrono::local_time<duration> representing the local time in the time zone corresponding to the time point *this represents. Periodt. π
π Return value π
A std::chrono::local_time<duration> computed as if by zone->to_local(get_sys_time()), where zone is the non-static data member holding the stored time zone pointer. Slay β¨
xoxo, your fav cppreference girlie π β source: http://cppreference.com, version/date: 2024.06.10
π¦ 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