Salta ai contenuti

Country Time

Get Time from Country

Questi contenuti non sono ancora disponibili nella tua lingua.


Returns the current Time in a Country

GET /api/time/country-to-time
https://api.cookie-api.com/api/time/country-to-time


ParameterTypeRequiredDescription
country string YesCountry name or country code

curl --location 'https://api.cookie-api.com/api/time/country-to-time?country=germany' \
--header 'Authorization: API_Key'

{
"country_code": "DE",
"country_name": "Germany",
"timezones": {
"Europe/Berlin": "2024-07-14 20:36:42 CEST+0200",
"Europe/Busingen": "2024-07-14 20:36:42 CEST+0200",
"GMT": "2024-07-14 18:36:42 GMT+0000",
"UTC": "2024-07-14 18:36:42 UTC+0000"
}
}