Unix Timestamp Converter
Convert Unix timestamps (seconds or milliseconds) to a readable date in any time zone, and dates back to timestamps. Shows the current epoch time live.
Timestamp to date
- Date and time
Date to timestamp
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Unix Timestamp Converter
- 1 Paste a Unix timestamp, or click Convert to use the current time.
- 2 Choose a time zone; seconds or milliseconds are detected automatically.
- 3 For the other direction, enter a date and time to get its timestamp.
About the Unix Timestamp Converter
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds since 1 January 1970 00:00:00 UTC. It is how computers, databases, APIs and log files store moments in time, because it is one number that is the same in every time zone.
This converter turns a timestamp into a readable date and time in the time zone you choose, with the offset from UTC, ISO 8601 and RFC 2822 notations and how long ago or how far ahead it is. Timestamps with 12 or more digits are read as milliseconds, as used by JavaScript and Java; you can also choose the unit yourself.
In the other direction, enter a date and a time in a time zone to get the timestamp. Daylight saving time is handled: a time that doesn’t exist because the clocks jump forward is moved forward by the jump, and a time that happens twice when the clocks go back takes the second occurrence.
Frequently asked questions
What is a Unix timestamp?
The number of seconds that have passed since 1 January 1970 at midnight UTC, not counting leap seconds. Negative timestamps are dates before 1970.
Seconds or milliseconds?
Most systems use seconds (10 digits today). JavaScript, Java and many APIs use milliseconds (13 digits). The converter treats 12 digits or more as milliseconds unless you choose otherwise.
Does a timestamp depend on the time zone?
No. A timestamp is the same moment everywhere; only the way it is shown as a date and time depends on the time zone.
What is the year 2038 problem?
Systems that store timestamps as a signed 32-bit number run out on 19 January 2038 at 03:14:07 UTC. This converter uses larger numbers and works for the years 1 to 9999.