Unix timestamp converter
Convert Unix timestamps to dates and dates back to timestamps.
Runs in your browser – your files are not uploaded
How to use Unix timestamp converter
- 1
Enter a timestamp, or click "Use current time".
- 2
Leave the unit on Auto or choose seconds or milliseconds.
- 3
Read the date, or pick a date and time on the right to get its timestamp.
About Unix timestamp converter
Unix time counts the seconds since 1 January 1970 00:00 UTC. It is used in databases, log files and APIs. This converter shows the current timestamp live and translates any timestamp into your local time, UTC, ISO 8601 and a relative time such as "3 days ago".
Seconds and milliseconds are detected automatically – values with 12 or more digits are treated as milliseconds – or you can choose the unit yourself. The second panel works the other way round and turns a date and time into seconds, milliseconds and ISO 8601.
Frequently asked questions
How do I know if a timestamp is in seconds or milliseconds?
Current timestamps in seconds have 10 digits, in milliseconds 13. Auto mode treats values from 100 billion upwards as milliseconds.
Which time zone is used for the date input?
The date you pick is interpreted in your device's time zone. To convert a time from another zone, use the time zone converter first.
Are leap seconds taken into account?
No. Like almost all systems, Unix time ignores leap seconds, so every day has exactly 86,400 seconds.