Skip to content

Readable to UNIX


Converts the Time from Human readable format to UNIX and ISO

GET /api/time/timestamp
Terminal window
https://api.cookie-api.com/api/time/timestamp


URL Parameters
dateEU time format default. Use format parameter for US date format. Example: 10/02/2025
timeEU time format default. Use format parameter for US time format. Example: 17:34
format (optional)Either 'US' or 'EU' time format (EU is default) use 'auto' for automatic detection

curl --location 'https://www.cookie-api.com/api/time/timestamp?date=10%2F2%2F2025&time=11%3A34' \
--header 'Authorization: API_Key'

Responses
{
"iso": "2025-02-10T11:34:00+00:00",
"success": true,
"timeformat": "EU",
"unix": 1739183640
}