Logs are stamped in UTC. Your brain isn't. Copy a timestamp straight out of a log line, paste it into tzc, and see what time that was for you and everyone on your team, plus how long ago it happened.
Built for the moment you're staring at an error line at 2am. It reads whatever you copied, gets daylight saving right, and tells you when the answer might be wrong.
pasteAuto-detects about a dozen timestamp formats, so you rarely have to tell it anything about the input.
Z +02:00 PST ISTOffsets and named abbreviations are understood, with a warning when one is ambiguous (CST, IST, BST) or wrong for the date.
DSTNaive times use your real IANA zone's rules for that date. A time skipped or repeated by a clock change is flagged and shown both ways.
1721831718123Seconds, milliseconds, microseconds or nanoseconds, detected automatically.
"31 days ago"Type 31 days, 4 hours ago or in 3 hours and it resolves against now.
--to A,B --to CRepeat --to or pass a comma list. One timestamp, one line per zone, ready for the postmortem timeline.
fzfSearch the full IANA list by name, abbreviation or offset (-8h). TAB to pick several.
--pickNo timestamp to paste? Pick year, month, day and hour from fzf menus to find when a teammate's change landed, or when next quarter's deploy hits every zone.
RelativeEvery result ends with a friendly 31 days, 4 hours ago, so you know if it's the incident or last month's noise.
alias--to skips the picker, so your usual zones, or your whole team, are one short word away.
--strictExits 3 when the result carries a warning, so a script never trusts a guess.
--from --day-firstPick the zone for naive timestamps, and read 03/04/2026 as DD/MM instead of MM/DD.
catppuccinCatppuccin Mocha colors in the terminal. Auto-off when piped or when NO_COLOR is set.
stdlibA single Python script on the standard library. fzf is optional, with a plain prompt fallback.
Naive timestamps are read in your local zone unless you pass --from. Fractional seconds are kept, and syslog lines with no year get the most recent year that isn't in the future.
2026-07-24 14:35:18SQL databases, apps (naive)2026-07-24T14:35:18ZAPIs, Kubernetes (UTC)2026-07-24T14:35:18.123ZCloud-native apps (UTC)2026-07-24T14:35:18+02:00ISO-8601 with offsetJul 24 14:35:18Linux syslog (year assumed)Jul 24 14:35:18.123systemd, Java (year assumed)Fri Jul 24 07:19:59 UTC 2026Unix date output24/Jul/2026:14:35:18 +0000Apache / Nginx access log1721831718Unix epoch seconds1721831718123Unix epoch milliseconds1721831718123456789Unix epoch nanoseconds20260724Compact YYYYMMDD (20260724.0 = epoch)07/24/2026 14:35:18Numeric date (DD/MM with --day-first)31 days, 4 hours, 25 minutes agoRelative timein 3 hours, 12 minutesRelative timeFri Jul 24 07:19:59 PDT 2026A teammate's local timePATH.Then wrap the zones you live in with an alias or two, so a conversion is one word away.
# standard library only; fzf powers the picker
curl -o tzc https://raw.githubusercontent.com/bytebeast/tzc/main/tzc
chmod +x tzc
mv tzc ~/.local/bin/
brew install fzf# ~/.zshrc or ~/.bashrc
alias tzblr='tzc --to Asia/Kolkata'
alias tzteam='tzc --to America/Los_Angeles,Europe/London,Asia/Kolkata'# convert whatever you just copied (macOS)
tzall() { tzc "$(pbpaste)" --to America/Los_Angeles,Asia/Kolkata; }