macOS
brew install cctzlocal Homebrew formula metadata
brew / rank 4771
C++ library for translating between absolute and civil times. Version 2.5 via Homebrew; verified from local package data. Also installable with debian: sudo apt install libcctz-dev.
install
brew install cctzlocal Homebrew formula metadata
sudo dnf install cctzFedora Rawhide package metadata · cctz · source: dl.fedoraproject.org
nix profile install nixpkgs#cctznixpkgs package indexes · pkgs/by-name/cc/cctz/package.nix · source: api.github.com
sudo apt install libcctz-devDebian stable package indexes · libcctz-dev · source: deb.debian.org
overview
C++ library for translating between absolute and civil times
history
CCTZ is Google's C++ date, civil-time, and time-zone library for converting between absolute time and human civil time using IANA time-zone data. It is packaged both as a library and, in Homebrew, with the time_tool example executable.
The official repository was created in 2015. The README says CCTZ contains a Civil-Time Library and a Time-Zone Library that cooperate with C++ <chrono>, giving programmers tools for date, time, and time-zone work.
CCTZ had a v1.0 release in March 2016 and a v2.0 release in April 2016, followed by v2.1 in 2017, v2.2 in 2018, v2.3 in 2019, v2.4 in 2024, and v2.5 in 2025.
The README documents Bazel as the preferred build system while also supporting Make and CMake. The input package facts list Homebrew, Debian/Ubuntu libcctz-dev, Fedora/DNF, and Nix packages, showing adoption as a reusable C++ library rather than only as an application.
CCTZ is used by C++ programs that need correct civil-date arithmetic and conversion between time zones and absolute time points. The README points users to cctz/civil_time.h, cctz/time_zone.h, examples, Bazel, CMake, and system-installed IANA zoneinfo data.
CCTZ is package-nerd significant because time-zone handling is notoriously edge-case heavy, and this library packages a focused C++ solution around IANA data before broad standard-library time-zone support was common in deployed toolchains.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
time_tool | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:cctz |
|---|---|
| Version | 2.5 |
| Package manager | Homebrew |
| Homepage | https://github.com/google/cctz |
| Repository | https://github.com/google/cctz |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libcctz-dev 2.4+dfsg1-2
Library for computing dates, times and time zones, development files
https://github.com/google/cctz
sudo apt install libcctz-devlibcctz-doc 2.4+dfsg1-2
Library for computing dates, times and time zones, documentation
https://github.com/google/cctz
sudo apt install libcctz-doclibcctz2.4 2.4+dfsg1-2
Library for computing dates, times and time zones, shared library
https://github.com/google/cctz
sudo apt install libcctz2.4cctz
nix profile install nixpkgs#cctzlibcctz-dev 2.3+dfsg1-5build1
Library for computing dates, times and time zones, development files
https://github.com/google/cctz
sudo apt install libcctz-devlibcctz-doc 2.3+dfsg1-5build1
Library for computing dates, times and time zones, documentation
https://github.com/google/cctz
sudo apt install libcctz-doclibcctz2 2.3+dfsg1-5build1
Library for computing dates, times and time zones, shared library
https://github.com/google/cctz
sudo apt install libcctz2cctz 2.5-4.fc45
Translating between absolute and civil times using time zone rules
https://github.com/google/cctz
sudo dnf install cctzcctz-devel 2.5-4.fc45
Translating between absolute and civil times using time zone rules
https://github.com/google/cctz
sudo dnf install cctz-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.