CLI World Time with Curl
System administrators often need to check the time of a remote timezone without changing the server's locale settings. You can do this instantly with `curl` and `jq`.
BASH
# Get formatted output
curl -s https://time.now/developer/api/timezone/UTC | jq
# Get just the ISO string
curl -s https://time.now/developer/api/timezone/Europe/Berlin | jq -r '.datetime'
# Check if it is currently DST
curl -s https://time.now/developer/api/timezone/America/Chicago | jq '.dst'
Why use Time.Now for SysAdmin?
- No installation required
- Works on all Linux/Mac
- Great for cron jobs