Unix timestamp converter
Convert Unix timestamps (seconds and milliseconds) to readable dates, and dates back to timestamps.
Unix Timestamp Converter
How to use Unix timestamp converter
- Enter a Unix timestamp in seconds or milliseconds, or a readable date.
- Convert it in the direction you need.
- Check the converted date or timestamp before using it in code.
A good use for this
Reading a timestamp from a log, a database, or an API as a human date, or turning a date into a timestamp for code.
Limits
Seconds and milliseconds look alike but differ by a factor of a thousand — a timestamp converted in the wrong unit lands in 1970 or in the year 50,000, so check the unit first.