Apoya a Time.now: Únete a nuestro Plan Premium ¡para una experiencia sin anuncios! Apóyanos: ¡Hazte Premium sin anuncios!
Administración de sistemas Guía

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'

¿Por qué usar Time.Now para Administración de sistemas?

  • No installation required
  • Works on all Linux/Mac
  • Great for cron jobs
Referencia de la API Ver todas las guías