Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Epoch Calculator

Epoch calculator works out Unix timestamp (seconds) and Unix timestamp (milliseconds) from Timestamp, Timestamp unit and Date. The default figures on this page give UTC date and time (RFC 3339) of 2023-11-14T22:13:20Z; change any entry and the result, the working and the sources update together.

UTC date and time (RFC 3339)
2023-11-14T22:13:20Z
Epoch and Unix Timestamp Converter
Unix timestamp (seconds)
1,700,000,000 s
Unix timestamp (milliseconds)
1,700,000,000,000 ms
Unix timestamp (microseconds)
1,700,000,000,000,000
UTC date
2023-11-14
UTC time
22:13:20
Weekday (UTC)
Tuesday
Day of the year (UTC)
318
ISO week (UTC)
2023-W46
Date and time at the chosen offset
2023-11-14T22:13:20Z
Date at the chosen offset
2023-11-14
Time at the chosen offset
22:13:20
Timestamp unit used
seconds
Whole days since the epoch
19,675 days
Summary
Timestamp 1700000000 seconds since the epoch = 2023-11-14T22:13:20Z (Tuesday).
Worked out from IEEE Std 1003.1-2017 (POSIX.1-2017), Base Definitions §4.16, Seconds Since the Epoch and 3 other sources.

Your figures

Updates as you type
Seconds, milliseconds, microseconds or nanoseconds since 1970-01-01T00:00:00Z. Negative values are dates before 1970.
Used when converting a date and time into a timestamp.
Accepts 13:45, 1:45 pm or 13:45:30.
0 treats the date and time as UTC. -5 reads it as US Eastern Standard Time. A fixed offset only - no daylight-saving rule is applied.

How this is worked out

3 steps
  1. 1700000000 has magnitude 1.70e+9, which falls in the seconds band, so it is read as 1700000000 seconds since the epoch.
  2. floor(1700000000 / 86400) = 19675 whole days, remainder 80000 s = 22:13:20.
  3. Day 19675 after 1970-01-01 is 2023-11-14, a Tuesday.

Its 6 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
IEEE Std 1003.1-2017 (POSIX.1-2017), Base Definitions §4.16, Seconds Since the Epoch
Defines the epoch as 1970-01-01T00:00:00Z and the expression tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 + ...; every day is 86400 seconds and leap seconds are not represented.
RFC 3339, Date and Time on the Internet: Timestamps
The output format YYYY-MM-DDTHH:MM:SSZ and the numeric UTC-offset notation.
Howard Hinnant, chrono-Compatible Low-Level Date Algorithms
civil_from_days / days_from_civil, the exact day-number conversion used in both directions.
ECMAScript Language Specification, Date.now and time values
JavaScript time values are milliseconds since the same epoch, which is why 13-digit timestamps are common.

What the epoch calculator calculates

Converts a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds into a UTC date and time, and converts a date and time back into a timestamp. Unix time counts seconds since 1970-01-01T00:00:00Z with every day exactly 86400 seconds long (POSIX ignores leap seconds), so the conversion is exact integer arithmetic and independent of the reader’s time zone.

How to use this epoch calculator

Enter Timestamp, Timestamp unit, Date and Time of day. Unix timestamp (seconds) updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Unix timestamp (seconds), Unix timestamp (milliseconds) and Unix timestamp (microseconds).

The method follows IEEE Std 1003.1-2017 (POSIX.1-2017), Base Definitions §4.16, Seconds Since the Epoch, RFC 3339, Date and Time on the Internet: Timestamps, Howard Hinnant, chrono-Compatible Low-Level Date Algorithms and ECMAScript Language Specification, Date.now and time values.

What you can compare

Change one input at a time to see how it affects Unix timestamp (seconds), Unix timestamp (milliseconds) and Unix timestamp (microseconds). The inputs you can vary are Timestamp, Timestamp unit, Date, Time of day and UTC offset of that date and time.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How do I convert an epoch time to CST?

Converts a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds into a UTC date and time, and converts a date and time back into a timestamp. Open “How this is worked out” beside the result to see each step for your own figures.

Why was 1970 an epoch?

Converts a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds into a UTC date and time, and converts a date and time back into a timestamp. On the figures this page opens with — timestamp 1,000,000,000 — the UTC date and time (RFC 3339) is 2023-11-14T22:13:20Z. Put your own figures in their place and the working updates beside the result.

What is today's epoch?

Converts a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds into a UTC date and time, and converts a date and time back into a timestamp. On this page it is computed from Timestamp, Timestamp unit and Date and shown as Unix timestamp (seconds), Unix timestamp (milliseconds) and Unix timestamp (microseconds).

How do I convert an epoch to a human-readable date?

It needs Timestamp, Timestamp unit, Date, Time of day and UTC offset of that date and time. Nothing else is required, and the figures stay in your browser.

What information do I need for the epoch calculator?

You need Timestamp, Timestamp unit, Date, Time of day and UTC offset of that date and time. The page opens with default figures that give UTC date and time (RFC 3339) of 2023-11-14T22:13:20Z, so you can see the scale before entering your own.

What does this epoch calculator show?

It shows Unix timestamp (seconds), Unix timestamp (milliseconds), Unix timestamp (microseconds), UTC date and time (RFC 3339), UTC date, UTC time, Weekday (UTC) and Day of the year (UTC), with the working and any warnings for your entries.

Related calculators

View all related calculators10 more