Timestamp Converter
Unix seconds or milliseconds to a readable date, in any time zone.
Unix timestamp
Direction
Output
The converted value appears here.
More in this kitAll of Developer Utilities
About Timestamp Converter
Unix timestamps count the seconds (or milliseconds) since 1 January 1970 UTC and appear all over logs, databases and APIs. This tool converts a timestamp into a readable date in the time zone of your choice, and converts a date and time back into a timestamp.
How to use it
- Choose a direction: To date or To timestamp.
- For To date, paste the Unix timestamp. For To timestamp, pick the date and time.
- Select the time zone the date should be shown in or read from.
- Copy the converted value.
Good to know
- A timestamp of up to 10 digits is read as seconds and a 13-digit one as milliseconds, so most timestamps from logs and JavaScript work without any setting.
- The same instant looks different in different time zones. Choosing the zone explicitly avoids the classic off-by-hours confusion.
- Unix timestamps are always based on UTC, so they are unambiguous even though their readable form depends on the zone.
Common questions
How can I tell whether a timestamp is in seconds or milliseconds?
Count the digits. Ten digits is seconds (for example 1700000000), thirteen digits is milliseconds (for example 1700000000000). The tool applies that rule automatically.
Why is the date I get one day off?
Usually a time zone difference. A moment late in the evening in one zone is already the next day in another. Set the time zone to the one you expect.