Namespaces
Variants
Views
Actions

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
 
 
constexpr std::chrono::sys_seconds date() const noexcept;

Obtains the date and time of the leap second insertion.

[edit] Return value

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