# std::chrono::tzdb::current_zone

> C++ Atlas: `cppatlas.com/w/cpp/chrono/tzdb/current_zone` | Source: https://en.cppreference.com/w/cpp/chrono/tzdb/current_zone | Domain: Date and time utilities | Standards: C++20

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

## Official Specification Summary (cppreference)

```cpp
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.

---
Attribution: content from https://en.cppreference.com/w/cpp/chrono/tzdb/current_zone (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.