Unix Timestamp Converter: Seconds Since 1970 to a Date
The epoch, in plain English.
Unix time counts the seconds since midnight UTC on 1 January 1970, and it is how most software records moments. Enter a timestamp in seconds or milliseconds to get the date and time, or enter a date to get the timestamp. The table converts five notable timestamps.
Your details
Try an example
Result
Date and time (UTC)
2023-11-14 22:13:20
Tuesday 14 November 2023 · read as seconds
- Seconds
- 1,700,000,000
- Milliseconds
- 1,700,000,000,000
- Weekday
- Tuesday
Good to know: Unix time = seconds since 00:00:00 UTC, 1 January 1970
How it was worked out · notes
- Unix time counts the seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds.
- Seconds ÷ 86,400 gives days since 1970; the date follows from the calendar.
- Result: 2023-11-14 22:13:20 UTC
- Timestamps are read as milliseconds above 100 billion and as microseconds above 100 trillion. Systems that store seconds in a signed 32-bit number run out on 19 January 2038 (timestamp 2,147,483,647).
The same moment in every form
All values describe one instant in time.
| Format | Value |
|---|---|
| Seconds (Unix time) | 1,700,000,000 |
| Milliseconds | 1,700,000,000,000 |
| ISO 8601 (UTC) | 2023-11-14T22:13:20Z |
| UTC date and time | 2023-11-14 22:13:20 |
| Local time (UTC+0) | 2023-11-14 22:13:20 |
| Day of the week | Tuesday |
| Day of the year | 318 |
The idea behind it
The idea behind the Unix time converter
01Epoch
Counting from 1970
Unix time counts seconds from midnight UTC on 1 January 1970. Because it is just a number, it sorts and compares easily and has no time zone.
02Units
Seconds or milliseconds
Most systems store seconds, but JavaScript and many APIs use milliseconds. A 13-digit timestamp is almost certainly milliseconds.
032038
The 32-bit limit
A signed 32-bit counter of seconds overflows on 19 January 2038. Systems using 64 bits are fine for billions of years.
Five notable Unix timestamps
Timestamp zero is the start of 1970, and a billion seconds later is September 2001. Each row gives the timestamp and the date and time in UTC.
| Notable timestamp | Seconds | Date and time (UTC) | Weekday |
|---|---|---|---|
| The epoch | 0 | 1970-01-01 00:00:00 | Thursday |
| One billion | 1,000,000,000 | 2001-09-09 01:46:40 | Sunday |
| 1,234,567,890 | 1,234,567,890 | 2009-02-13 23:31:30 | Friday |
| 1.7 billion | 1,700,000,000 | 2023-11-14 22:13:20 | Tuesday |
| Two billion | 2,000,000,000 | 2033-05-18 03:33:20 | Wednesday |
All results are in UTC. 32-bit systems that store seconds as a signed number run out in January 2038.
A timestamp in, a date out
- Choose timestamp to date, or date to timestamp.
- Enter the timestamp (seconds or milliseconds) or the date and time.
- Optionally set a UTC offset to see local time.
- Read the result and the table of formats.
1,700,000,000
The timestamp 1,700,000,000 is Tuesday 14 November 2023 at 22:13:20 UTC. In milliseconds it is 1,700,000,000,000.
How the figures are built
Formula
Unix time = seconds since 00:00:00 UTC, 1 January 1970
Mixing seconds with milliseconds
- Mixing up seconds and milliseconds (JavaScript uses milliseconds).
- Forgetting that Unix time is always UTC.
- Entering a local time without accounting for the offset.
- Assuming the 32-bit limit is a problem on 64-bit systems.
Timestamp questions
What is Unix time?
The number of seconds that have passed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a single number that identifies a moment regardless of time zone.
What is a Unix timestamp?
The number of seconds since 00:00:00 UTC on 1 January 1970, called the Unix epoch. It names one moment in time regardless of time zone.
How do I tell seconds from milliseconds?
Current timestamps have 10 digits in seconds and 13 in milliseconds. The calculator treats numbers above 100 billion as milliseconds.
What is the year 2038 problem?
Systems that store Unix time in a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038 (2,147,483,647 seconds). Most modern systems use 64-bit values.
Learn more
- Guide· 4 minHow to read Unix time and military timeUnix time is a count of seconds since 1 January 1970 UTC. Military time is the 24-hour clock, where 3:45 PM is 1545. Both are easy to read once you know the rule.Everyday numbers
- Quiz· 3 minMilitary and Zulu time: can you read a 24-hour clock?Six questions on the 24-hour clock and four on Zulu time. Pick the right answer, and each one shows the working.Everyday numbers
Related tools
How we calculate this
We use the standard published formula or definition for this calculation, and we show the working so you can check it.
Spotted a mistake? Tell us and we'll check it. How we check our calculators