cctz
« Back to VersTracker
Description:
C++ library for translating between absolute and civil times
Type: Formula  |  Latest Version: 2.5@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: timezones c++ library datetime google
Install: brew install cctz
About:
CCTZ is a C++ library that provides reliable conversions between absolute times (UTC) and civil times (local time). It leverages the IANA Time Zone Database to accurately handle time zone rules, historical changes, and daylight saving transitions. This enables developers to build robust applications that correctly manage time across different geographical regions.
Key Features:
  • Accurate conversions between UTC and local time
  • Supports IANA Time Zone Database for up-to-date rules
  • Handles historical time zone changes and daylight saving
  • C++11 compatible with no external dependencies
Use Cases:
  • Building applications that require precise time zone handling
  • Scheduling tasks across different geographical regions
  • Logging and auditing systems that need accurate timestamps
Alternatives:
  • Howard Hinnant's date library – Provides similar functionality but is part of a broader chrono extension proposal
  • Boost.DateTime – Part of the Boost collection, offers more features but with heavier dependencies
License: Apache-2.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit