About the Unix Timestamp Converter
Servers, databases and APIs store time as the number of seconds since 1 January 1970 (UTC). Paste a timestamp to see the date in your time zone and in UTC, or pick a date to get its timestamp.
Unix time counts seconds since 00:00:00 UTC on 1 January 1970. It is how databases, log files, APIs and programming languages store moments without worrying about time zones or daylight saving. The catch is that 1767225600 means nothing to a human. This converter is for developers reading logs, analysts working with exported data and anyone who needs to turn a timestamp into a date or the other way round.
Paste a number and the tool detects whether it is in seconds or milliseconds (JavaScript and Java use milliseconds), then shows the moment in your own time zone, in UTC, in ISO 8601 format and as a relative time such as “3 days ago”. Pick a date and time to get the timestamp instead, ready to paste into a query or a test.
How to use the Unix Timestamp Converter
- 1Paste a timestamp; seconds and milliseconds are detected automatically.
- 2Or pick a date and time to get the timestamp.
- 3Copy whichever value you need.
Key features
- Automatic seconds or milliseconds detection.
- Local time, UTC, ISO 8601 and relative time side by side.
- Date picker to convert a date into a timestamp.
- Shows the current epoch time.
- Copy buttons for each format.
Practical uses
- Reading created_at values in a database export.
- Writing a SQL WHERE clause for a time range.
- Checking token expiry or cache headers.
- Comparing log entries from servers in different time zones.
Example
Pasting 1700000000 shows Tuesday 14 November 2023 22:13:20 UTC; in Pakistan (UTC+5) that is 15 November 2023, 03:13:20. Pasting 1700000000000 gives the same moment because the tool recognises 13 digits as milliseconds.
Tips and common mistakes
- Store timestamps in UTC and convert to local time only for display.
- If a date shows up in 1970, a value in seconds was probably treated as milliseconds somewhere.
- ISO 8601 strings (2026-10-31T10:00:00Z) are safer than local date strings when exchanging data between systems.
Limitations
- Leap seconds are ignored, as in Unix time itself.
- Very old or far-future dates are limited by the JavaScript Date range.
Privacy
All conversions use your browser’s clock and time-zone settings. No dates or numbers are sent to a server.
Frequently asked questions
How do I know if a timestamp is in seconds or milliseconds?
Today a timestamp in seconds has 10 digits and one in milliseconds has 13. The tool detects this for you.
Which time zone is used?
Results are shown in your device’s time zone and in UTC.
What is the year 2038 problem?
Old systems that store time in a signed 32-bit number will overflow on 19 January 2038. Modern 64-bit systems are not affected.
Why is my time zone shown?
It comes from your device settings. If it is wrong, the local time shown will be wrong too, while UTC stays correct.