std::chrono::time_zone::name

From cppreference.com
< cpp‎ | chrono‎ | time zone
 
 
 
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::string_view name() const noexcept;
(since C++20)

Obtains the name of this time zone.

Return value

The name of this time zone (e.g., "America/New_York").