std::chrono::leap::date

From cppreference.com
< cpp‎ | chrono‎ | leap
 
 
 
Date and time utilities
(C++11)
(C++11)
Clocks
(C++20)
                                                  
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
 
std::chrono::leap
Member functions
leap::date
Nonmember functions
 
constexpr std::chrono::sys_seconds date() const noexcept;

Obtains the date and time of the leap second insertion.

Return value

A std::chrono::sys_seconds representing the date and time at which the leap second was inserted.