World Time

Get the current time for any location in the world by specifying an IANA timezone identifier. Returns the timezone name, UTC offset, current time, and DST status.

Get API Key

Descripción general

Casos de uso

  • World clock widgets
  • Scheduling across multiple timezones
  • Travel and meeting planner apps
  • Display local time for remote team members

Funcionalidades

Full IANA timezone database support (e.g. "America/New_York", "Asia/Tokyo")
UTC offset in standard +HH:MM format
DST detection for the current date
Current time returned in RFC 3339 format

Puntos finales de la API

Get Current Time by Timezone

Returns the current time for the given IANA timezone identifier. The timezone is supplied as a path parameter (e.g. `America/New_York`, `Europe/London`, `UTC`).

GET
https://requiems.xyz/v1/places/time/{timezone}

Parámetros

Nombre Tipo Obligatorio Descripción
timezone string Obligatorio IANA timezone identifier (e.g. 'America/New_York', 'Europe/London', 'Asia/Kolkata')

Pruébalo

Demostración en vivo
Solicitud

IANA timezone identifier (e.g. 'America/New_York', 'Europe/London', 'Asia/Kolkata')

Campos de respuesta

Campo Tipo Descripción
timezone string IANA timezone identifier (e.g. "America/New_York")
offset string UTC offset in +HH:MM or -HH:MM format (e.g. '-05:00', '+05:30')
current_time string Current time in UTC, formatted as RFC 3339 (e.g. "2024-12-15T14:30:00Z")
is_dst boolean Whether the timezone is currently observing daylight saving time

Ejemplos de código

curl "https://requiems.xyz/v1/places/time/America/New_York" \
  -H "requiems-api-key: YOUR_API_KEY"

Preguntas frecuentes