How to use it
- See the current Unix time at the top, updating every second.
- Paste a timestamp in seconds (10 digits) or milliseconds (13 digits); the unit is detected automatically.
- Read it as UTC, in your own time zone, and as a relative time like 3 days ago.
- To go the other way, pick a date and time, choose your time zone or UTC, and copy the timestamp.
Epoch time, made readable
Unix time counts the seconds since 1 January 1970 at midnight UTC. Databases, logs, APIs, JWTs and analytics tools store dates this way because it is a single number that is the same in every time zone. JavaScript and Java often use milliseconds instead, which is why some timestamps have 13 digits. This converter detects which one you pasted and shows the date in UTC and in your local time.
UTC is the shared reference, and the local line uses your device's time zone, which is IST (UTC+5:30) for most users in India. When comparing log entries from servers in different regions, convert everything to UTC first.
Date to timestamp
Choose a date and time to get the timestamp in seconds and milliseconds, for example to set an expiry, query a date range or create test data. Choose UTC if the time you are entering is in UTC, otherwise the time is read in your own time zone. Negative timestamps are dates before 1970.
Questions
- Seconds or milliseconds?
- 10 digits (like 1764000000) are seconds; 13 digits (like 1764000000000) are milliseconds. The tool detects this for you.
- What is the 2038 problem?
- Systems that store Unix time as a signed 32-bit number overflow on 19 January 2038. Modern 64-bit systems and JavaScript are not affected.
- Does Unix time include leap seconds?
- No. Every Unix day is exactly 86,400 seconds.
- Is what I paste sent to a server?
- No. The tool runs as JavaScript in your browser. Your text, files and keys stay on your device, so it is safe to use with internal data, tokens and customer records. It keeps working offline after the page has loaded once.