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

Vue d'ensemble

Cas d'utilisation

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

Fonctionnalités

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

Points de terminaison de l'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}

Paramètres

Nom Type Requis Description
timezone string Requis IANA timezone identifier (e.g. 'America/New_York', 'Europe/London', 'Asia/Kolkata')

Essayez-le

Démo en direct
Requête

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

Champs de réponse

Champ Type Description
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

Exemples de code

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

Foire aux questions