▫️Local Time
Last updated
Last updated
This endpoint retrieves the current local time of the specified country based on the provided ISO 3166-1 alpha-2 country code. It returns the country's time zone and the current local time in the format 'YYYY-MM-DD HH:mm:ss'. If the provided country code is invalid or the time zone data is not available, it returns a 404 error with a corresponding message.
Parameter | Type | Description |
---|---|---|
IT: Europe/Rome
DE: Europe/Berlin
UK: Europe/London
US_NY: America/New_York
US_CA: America/Chicago
US_MT: America/Denver
US_PAC: America/Los_Angeles
US_AK: America/Anchorage
US_HI: Pacific/Honolulu
CA_ON: America/Toronto
CA_BC: America/Vancouver
CA_AB: America/Edmonton
CA_MB: America/Winnipeg
CA_NS: America/Halifax
CA_NL: America/St_Johns
AU_NSW: Australia/Sydney
AU_WA: Australia/Perth
AU_SA: Australia/Adelaide
AU_QLD: Australia/Brisbane
AU_NT: Australia/Darwin
AU_TAS: Australia/Hobart
IN: Asia/Kolkata
JP: Asia/Tokyo
BR_SP: America/Sao_Paulo
BR_AM: America/Manaus
BR_PE: America/Recife
BR_AC: America/Rio_Branco
ZA: Africa/Johannesburg
FR: Europe/Paris
ES: Europe/Madrid
MX_CTY: America/Mexico_City
MX_CUN: America/Cancun
MX_MTY: America/Monterrey
CN_SH: Asia/Shanghai
CN_UR: Asia/Urumqi
RU_MS: Europe/Moscow
RU_YE: Asia/Yekaterinburg
RU_OM: Asia/Omsk
RU_KR: Asia/Krasnoyarsk
RU_IR: Asia/Irkutsk
RU_YA: Asia/Yakutsk
RU_VL: Asia/Vladivostok
RU_MA: Asia/Magadan
KR: Asia/Seoul
SG: Asia/Singapore
NG: Africa/Lagos
SA: Asia/Riyadh
AE: Asia/Dubai
AR: America/Argentina/Buenos_Aires
CL: America/Santiago
CO: America/Bogota
EG: Africa/Cairo
ID: Asia/Jakarta
IL: Asia/Jerusalem
MY: Asia/Kuala_Lumpur
NZ: Pacific/Auckland
PH: Asia/Manila
PK: Asia/Karachi
PL: Europe/Warsaw
SE: Europe/Stockholm
TH: Asia/Bangkok
TR: Europe/Istanbul
TW: Asia/Taipei
VN: Asia/Ho_Chi_Minh
UA: Europe/Kiev
PT: Europe/Lisbon
NL: Europe/Amsterdam
BE: Europe/Brussels
CH: Europe/Zurich
GR: Europe/Athens
FI: Europe/Helsinki
DK: Europe/Copenhagen
NO: Europe/Oslo
IE: Europe/Dublin
countryCode
string
The ISO 3166-1 alpha-2 country code.