std::chrono::time_zone::name

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