Are the numbers seconds or milliseconds?
Seconds. A 10-digit Unix time converts as expected. A 13-digit millisecond value will look centuries off until you convert it to seconds.
Convert timestamps between different formats
Runs in your browser. No signup required.
Follow along with the steps below.
Enter a Unix timestamp in seconds or update the date/time value
Use the Convert to Timestamp button to turn a date into Unix time
Review the human-readable local time shown below the timestamp
Copy the output whenever you need the converted value
Seconds. A 10-digit Unix time converts as expected. A 13-digit millisecond value will look centuries off until you convert it to seconds.
The readable line uses your browser’s local timezone. The ISO field is UTC, without a trailing Z in the input box.
Yes. Edit the date field and convert it to a Unix timestamp in seconds.
No. The page starts from the current time and only keeps what you type until you leave.
Advertisement