Quick CLI tool for showing 'now' in the relevant timezones to you.
~ tzme
16:47 2021-10-13 Europe/Berlin
15:47 2021-10-13 Europe/London
14:47 2021-10-13 UTC
10:47 2021-10-13 US/Eastern
07:47 2021-10-13 US/Pacific
-
Install Rust if you haven't already:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Build and install:
cargo build --release sudo cp target/release/tzme /usr/local/bin/
-
Run:
tzme
Requires Python 3 and pytz:
pip install pytz
chmod +x tzme.py
sudo mv tzme.py /usr/local/bin/tzmeCurrently displays time in:
- Europe/Berlin
- Europe/London
- UTC
- US/Eastern
- US/Pacific
To customize, edit the timezone list in src/main.rs (Rust) or tzme.py (Python).