std::chrono::leap_second:: date

From cppreference.com
Utilities library
General utilities
Relational operators (deprecated in C++20)
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.