🇺🇸 English 🇪🇪 Eesti 🇷🇺 Русский 🇩🇪 Deutsch 🇫🇷 Français 🇪🇸 Español 🇨🇳 中文 🇫🇮 Suomi 🇸🇪 Svenska 🇳🇴 Norsk 🇩🇰 Dansk 🇮🇸 Íslenska
浏览 › domain › timezone

Timezone

5 endpoints match this tag.

时区查询

GET
/geo/timezone

通过地理坐标或时区名称查询时区信息。返回时区标识符(例如 Europe/Oslo)、当前本地时间、UTC 偏移和夏令时状态。适用于需要以用户本地时区显示时间的日程安排应用、跨时区的会议规划器和在 UTC 与本地时间之间转换的任何功能。

地理与天气

时区转换

GET
/time/convert

将日期时间从一个时区转换为另一个时区。

世界时间

按时区查询当前时间

GET
/time/current

获取任何 IANA 时区的当前日期和时间。返回年、月、日、时、分、秒、格式化日期时间、星期几和夏令时状态。

世界时间

按 IP 查询当前时间

GET
/time/ip/:ip

Get the current time for the location associated with an IP address.

世界时间

所有时区列表

GET
/time/zones

Get a complete list of all available IANA timezones.

世界时间