# Local Time

## /local-time

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.

### Query Parameters

| Parameter   | Type   | Description                          |
| ----------- | ------ | ------------------------------------ |
| countryCode | string | The ISO 3166-1 alpha-2 country code. |

### Response

```json
{
  "countryTimezone": "string",
  "localTime": "string"
}
```

### Supported Countries (always updated)

* 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
