std::chrono::zoned_time::get_time_zone

From cppreference.com
< cpplrm; | chronolrm; | zoned time
Date and time utilities
(C++11)
(C++11)
Clocks
(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
TimeZonePtr get_time_zone() const;
(since C++20)

Retrieves the stored time zone pointer.

Return value

A copy of the stored time zone pointer.

Notes

There's no way to access the time zone pointer when TimeZonePtr is a move-only type.