Scroll to navigation

std::chrono::zoned_time::get_time_zone(3) C++ Standard Libary std::chrono::zoned_time::get_time_zone(3)

NAME

std::chrono::zoned_time::get_time_zone - std::chrono::zoned_time::get_time_zone

Synopsis

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.

2026.11.10 http://cppreference.com