std::chrono...econd::date(3)
π¦ std::chrono...econd::date(3)
okay bestie, this one is from the C++ Standard Libary manual (yes, that's the spelling on the page, don't come for me π ). it's a tiny little member-function moment, but it's lowkey iconic.
β¨ NAME β¨
std::chrono::leap_second::date β std::chrono::leap_second::date
πΈ Synopsis πΈ
constexpr std::chrono::sys_seconds date() const noexcept;
Obtains the date and time of the leap second insertion. that's the whole vibe: it gets you the moment the leap second got inserted. periodt π
π Return value π
A std::chrono::sys_seconds representing the date and time at which the leap second was inserted. yes bestie, it's giving exactly that π
signing off with the cute little footer info: source/version + date is cppreference.com Β· 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