Skip to content
Owais Khan Software Reviews

Unix Timestamp Converter

Epoch time to date, and date to epoch time.

Convert Unix timestamps

Current Unix time: — seconds

Timestamp to date

ISO 8601
2023-11-14T22:13:20.000Z
UTC
Tue, 14 Nov 2023 22:13:20 GMT
In the zone
2023-11-14 22:13:20 (UTC+00:00)
Read as
seconds
Relative
India time
2023-11-15 03:43:20 (UTC+05:30)

Date to timestamp

Seconds
1700000000
Milliseconds
1700000000000

Everything stays on this device — what you enter never leaves your browser.

Unix timestamp converter

This Unix timestamp converter turns epoch time into a readable date and back. The timestamp 1700000000 is 2023-11-14T22:13:20.000Z, which is 2023-11-15 03:43:20 (UTC+05:30) in India. The tool detects whether the number is in seconds, milliseconds, microseconds or nanoseconds, so a JavaScript timestamp like 1700000000000 gives the same instant.

Epoch converter: timestamp to date and date to timestamp

Use this epoch converter both ways: timestamp to date with the time zone you need, and date to timestamp by typing a date such as 2023-11-14 22:13:20 and choosing the zone it is written in. Daylight saving is applied for the zone on that date.

Epoch time basics

Epoch time counts seconds since 1 January 1970 00:00:00 UTC. The largest 32-bit value, 2,147,483,647, is 2038-01-19T03:14:07.000Z. For durations between two clock times, use the time duration calculator; for encodings see the URL decoder and the JWT decoder, which shows token expiry as dates.

Frequently asked questions

How do I convert a Unix timestamp to a date?
A Unix timestamp counts the seconds since 1 January 1970 00:00:00 UTC. Divide by 86,400 to get days, then add them to that date: 1700000000 is 19,675 days and 22:13:20 after the epoch, which is 2023-11-14T22:13:20.000Z in UTC, 2023-11-15 03:43:20 (UTC+05:30) in India and 2023-11-14 17:13:20 (UTC-05:00) in New York. Paste a timestamp above and the date appears in the time zone you choose.
How do I convert a date to a Unix timestamp?
Work out the seconds between the date and 1 January 1970 UTC, taking the time zone into account. 14 November 2023 22:13:20 UTC is 1700000000. Type a date such as 2023-11-14 22:13:20 into the date box, pick the time zone it is written in, and the timestamp in seconds and milliseconds is shown. A trailing Z or an offset like +05:30 in the text overrides the zone.
Is my timestamp in seconds or milliseconds?
Count the digits: a 10-digit number such as 1700000000 is in seconds, a 13-digit number such as 1700000000000 is in milliseconds, 16 digits is microseconds and 19 is nanoseconds. JavaScript's Date.now() and Java use milliseconds, while most Unix tools and databases use seconds. The converter detects the unit and shows which it chose; you can also force one.
What is the Year 2038 problem?
Systems that store the timestamp as a signed 32-bit integer run out at 2,147,483,647 seconds, which is 2038-01-19T03:14:07.000Z (Tue, 19 Jan 2038 03:14:07 GMT). One second later the value wraps to a negative number and dates jump back to 1901. Modern 64-bit systems are not affected for billions of years, but old embedded devices and file formats still are.
What is Unix epoch time?
Unix epoch time, or POSIX time, is a way of writing a moment as a single number: the seconds elapsed since the Unix epoch, 1 January 1970 00:00:00 UTC, not counting leap seconds. Because it has no time zone, no daylight saving and no calendar, it is the standard way for programs, databases and APIs to store and compare points in time.
Is my timestamp uploaded or processed on a server?
No. The conversion runs inside this page, so what you enter never leaves your browser, and there is no sign-up. That is enforced rather than promised: this site’s test suite scans the shipped HTML for every browser API capable of sending data off the page and fails the build if it finds one.