Unix timestamp converter
Turn an epoch timestamp into a date you can read, in your time zone or any other, and back again.
Sealed on this device
Runs in your browser. Nothing is uploaded.
Sealed
How it works
-
Paste a timestamp
Paste a number from a log, a database or an API. Seconds, milliseconds, microseconds and nanoseconds are recognised automatically.
-
Choose a time zone
See the date in your own time zone, in UTC or in any other zone, with daylight saving time applied.
-
Or go the other way
Pick a date, a time and a zone below to get the matching timestamp in seconds and milliseconds.
Frequently asked questions
What is a Unix timestamp?
It’s the number of seconds since 1 January 1970 at midnight UTC, called the Unix epoch. Computers use it because it’s a single number, independent of time zones and date formats.
Seconds or milliseconds: how do I know?
Today’s timestamps have 10 digits in seconds and 13 digits in milliseconds. JavaScript and Java usually use milliseconds; PHP, Python and most databases use seconds. Automatic detection relies on the number of digits, and you can force the unit.
Does it handle daylight saving time?
Yes. Conversions use your browser’s time zone database, so summer and winter time are applied correctly for every date and every zone, including past rule changes.
What happens in 2038?
Systems that store timestamps as 32-bit signed integers overflow on 19 January 2038 at 03:14:07 UTC. This converter, like modern 64-bit systems, has no such limit.
Why can the same date give two different timestamps?
A date and time only becomes a precise moment once you know its time zone. 9:00 in Paris and 9:00 in New York are six hours apart, so their timestamps differ. Choose the right zone when converting a date.