W3cubDocs

/C++

std::chrono::tzdb::current_zone

const std::chrono::time_zone* current_zone() const;
(since C++20)

Obtains a pointer to a std::chrono::time_zone in this database that represents the local time zone of the computer.

Return value

A pointer to the std::chrono::time_zone in this database that represents the local time zone of the computer.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/chrono/tzdb/current_zone