Unix Timestamp Converter
Convert Unix epoch timestamps to readable dates and dates back to timestamps. Seconds or milliseconds, UTC and local time. Free and instant.
Current Unix timestamp
Timestamp to date
Date to timestamp
How to use the Timestamp Converter
- The current Unix timestamp is shown at the top and updates every second.
- To convert a timestamp, paste it into the first box. Seconds and milliseconds are detected automatically.
- To get a timestamp from a date, pick a date and time and choose whether it is local time or UTC.
- Read the results in seconds and milliseconds.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp, or epoch time, is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It gives one number for a moment in time that does not depend on time zone.
How do I tell seconds from milliseconds?
Current timestamps in seconds have 10 digits and in milliseconds have 13. This tool treats values of 100 billion or more as milliseconds.
Does a Unix timestamp include a time zone?
No. It always counts from UTC. Time zones only matter when you display it as a calendar date.
What is the Year 2038 problem?
Systems that store the timestamp in a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems are not affected.
How do I get the current timestamp in code?
In JavaScript, Math.floor(Date.now() / 1000). In Python, int(time.time()). In most shells, date +%s.