v0.4.1

# /tools/time

Returns the current server time in multiple formats.

# Request

GET https://api.synz.xyz/tools/time

# Parameters

Name Type Description
timezone string IANA timezone (e.g. "Europe/London"). Defaults to server timezone.

# Response

{
  "iso": "2026-05-16T14:23:01.000Z",
  "unix": 1747405381,
  "utc": "Sat, 16 May 2026 14:23:01 GMT",
  "local": "16/05/2026, 15:23:01",
  "timezone": "Europe/London"
}

# Fields

Field Type Description
iso string ISO 8601 timestamp
unix number Unix timestamp in seconds
utc string UTC formatted string
local string Server locale formatted string
timezone string Server IANA timezone

# Examples

curl https://api.synz.xyz/tools/time
curl https://api.synz.xyz/tools/time?timezone=America/New_York
curl https://api.synz.xyz/tools/time?timezone=Asia/Tokyo