← 世界时间

按时区查询当前时间

GET /time/current

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

参数

时区 必填

IANA timezone (e.g. Europe/Oslo, America/New_York, Asia/Tokyo)

请求示例

基本用法
curl "https://nordapi.ee/api/v1/time/current?timezone=Europe/Oslo"

实时响应

{
  "data": {
    "date": "10/25/2026",
    "dateTime": "2026-10-25T00:46:36.8852123",
    "day": 25,
    "dayOfWeek": "Sunday",
    "dstActive": true,
    "hour": 0,
    "minute": 46,
    "month": 10,
    "seconds": 36,
    "time": "00:46",
    "timeZone": "Europe/Oslo",
    "year": 2026
  },
  "success": true
}