timein
status: ACTIVEinception: April 2026
language: C
timein is a minimal tool for quickly getting the time and date for a city. My first C project, it has over 570 cities, Levenshtein distance search, and also supports plain UTC offsets.
features
- Query by city
- Query by UTC offset (+10, -4, 5)
- Returns a full date, plus the time in both 12 hour and 24 hour format
Usage
timein tokyo
timein tok
timein melbourne
timein new york
timein +10 # UTC+10
timein -4 # UTC-4
timein 5 # UTC+5
timein about
Install
Arch Linux
yay -S timein
Other Linux distros / Mac
For other platforms, you can compile it from source. Just clone the repo and run make, then
sudo install -Dm755 timein /usr/local/bin/timein if you want to install it system-wide
Windows
I don't care