BestCalculator .app

Epoch Converter

Convert Unix seconds and milliseconds to UTC and back. Your local time zone is labeled next to UTC.

DirectionTimestamp to a UTC date, or a UTC date back to seconds and milliseconds.
UnitSeconds are the Unix count. Milliseconds are that count times 1,000.
Timestamp0 is 1970-01-01 00:00:00 UTC. Use seconds or milliseconds to match the unit above.

Smart Tips

• 0 seconds and 0 milliseconds are both 1970-01-01 00:00:00.000 UTC.

• 1,000 milliseconds is 1 second.

• Each UTC day on this page is 86,400 seconds. Leap seconds are not inserted.

• The local line uses your browser zone and names that zone.

• A time zone page does not take a Unix timestamp. This one does.

The Formula

seconds = days since 1970-01-01 UTC × 86400 + hour×3600 + minute×60 + second

epoch1970-01-01 00:00:00 UTC, which is timestamp 0.
86400Seconds in one UTC day. Leap seconds are not added.
msMilliseconds = seconds × 1000.
localThe same instant shifted by your zone offset, with the zone name.

February 29, 1972 00:00:00 UTC is 68,169,600 seconds, which is 789 days after the epoch.

Key Insights

Both units

Switch the unit to read the same instant as seconds or as milliseconds.

UTC first

The large figure is UTC. Local time is a second line, with the zone name.

Leap day

1972-02-29 is a real Unix day. 1900-02-29 is not a valid date.

No leap second

POSIX counts every day as 86400 seconds, so this page does too.

Frequently Asked Questions

Responsive Ad Space
-
Enter a timestamp or a UTC date
-
-
-

Note:Unix time here is seconds or milliseconds since 1970-01-01 00:00:00 UTC. Each day is 86400 seconds. Leap seconds are not inserted. Your local zone is labeled beside the UTC time.

Responsive Ad Space