Dev & Data
Unix timestamp converter
Paste a timestamp to see the date, or type a date to get the timestamp. The unit is detected automatically, and daylight saving is handled for each zone.
- Free, no sign-up
- Runs in your browser
- Nothing uploaded
Input
Convert
Year-month-day then hours:minutes. Add Z or +05:30 to give the zone yourself.
Result
Table
Epoch time in plain words
A Unix timestamp is a count of seconds since 00:00:00 UTC on 1 January 1970, a moment known as the Unix epoch. Databases, server logs, APIs and cookies store time this way because one number means the same instant everywhere, with no time zone or date format to argue about. The catch is that 1792746000 means nothing to a person, which is where this converter helps.
In "Timestamp to date" mode, paste a number and the tool shows the moment as UTC, as an ISO 8601 string, in the time zone you pick, in India Standard Time and as a relative phrase such as "3 days ago". In "Date to timestamp" mode, type a date and time and get back Unix seconds and milliseconds. "Use current time" fills in the present second.
Seconds, milliseconds and smaller units
Not every system counts in seconds. JavaScript's Date.now() and Java's System.currentTimeMillis() return milliseconds, and some databases and tracing tools use microseconds or nanoseconds. With "Detect automatically" selected, the converter guesses from the size of the number: below 100 billion it reads seconds, below 100 trillion milliseconds, below 100 quadrillion microseconds, and anything larger nanoseconds. A note confirms which unit it chose. If the guess is wrong, for example for a date very far in the future, pick the unit yourself from the list.
Worked examples
1700000000. This is 2023-11-14 22:13:20 UTC, or 2023-11-14T22:13:20.000Z in ISO 8601. In India it is 2023-11-15 03:43:20, because IST is UTC+05:30.
1767225600000. Thirteen digits, so it is read as milliseconds. It is midnight UTC on 1 January 2026, which is still 2025-12-31 19:00:00 in New York (UTC−05:00) and 05:30 on New Year's Day in India.
2147483647. The largest value a signed 32-bit integer can hold, reached at 2038-01-19 03:14:07 UTC. Older software that stores seconds in 32 bits rolls over after this second, the so-called Year 2038 problem. This converter uses JavaScript numbers, so it handles dates well beyond that.
A local date to a timestamp. "2026-10-23 14:30" with India (IST) selected gives 1792746000, which is 09:00 UTC. Type the same text as "2026-10-23T14:30:00Z" and the Z tells the tool it is already UTC, so you get 1792765800 regardless of the zone menu.
0. The epoch itself: 1970-01-01 00:00:00 UTC, already 05:30 in India.
Time zones and daylight saving
A timestamp has no time zone of its own. Only the display changes when you switch zones. When you type a date without a Z or an offset such as +05:30, it is read in the zone selected in "Time zone", using that zone's daylight-saving rules for that date. The list covers UTC, India, your device's zone and major cities including New York, London, Berlin, Dubai, Singapore, Tokyo and Sydney.
Daylight saving creates one awkward hour a year. On 1 November 2026, clocks in New York go back an hour, so 01:30 happens twice. The converter reads "2026-11-01 01:30" as the first one, at UTC−04:00, giving 1793511000. If you mean the second, add the offset yourself: "2026-11-01 01:30-05:00". To compare clock times across cities without a timestamp, try the world time converter.
Frequently asked questions
What date is 1700000000?
14 November 2023 at 22:13:20 UTC, which is 15 November 2023 at 03:43:20 in India.
How do I tell seconds from milliseconds?
Count the digits. A current date in seconds has 10 digits and in milliseconds 13. The automatic setting does this for you.
Which date formats can I type?
Year-month-day, with an optional time: 2026-10-23, 2026-10-23 14:30, or 2026-10-23T14:30:00Z. You can add seconds, milliseconds and an offset such as +05:30.
Is the Year 2038 problem a risk here?
No. It affects systems that store seconds in a signed 32-bit number. This tool is not limited to 32 bits.
Privacy
Your inputs are processed by your browser and are not sent to BeginThings. Timestamps pasted from logs stay on your device.