Too lazy to switch from the terminal to check the time? Same. smt displays the current time across multiple timezones in a neat table, right where you already are.
| Location | Time | |
|---|---|---|
| 🇵🇱 | Warsaw | 2026-02-04 18:30:00 |
| 🇬🇧 | London | 2026-02-04 17:30:00 |
| 🇺🇸 | New York | 2026-02-04 12:30:00 |
gem install smt
Create a ~/.smtrc.yml file with your timezones:
- emoji: "🇵🇱"
label: Warsaw
time_zone: Europe/Warsaw
color: red
- emoji: "🇬🇧"
label: London
time_zone: Europe/London
color: blue
- emoji: "🇺🇸"
label: New York
time_zone: America/New_York
color: greenLabels support strftime format codes, so you can use dynamic values like %A for the day name.
smt # show current time
smt -t "2026-02-04 15:00" # convert a specific time
smt -f "%H:%M" # custom time format (default: %Y-%m-%d %H:%M:%S)
smt -l # list all available timezones
smt -v # show version