Skip to content

Epoch Time Calculator

Convert Unix and Linux epoch time to a date, and back again.

Convert

Seconds or milliseconds since 1 January 1970 UTC.

Time format

Choose how times are written in the result.

Press Calculate, or Enter in any field.

Start of 2024

1704067200 seconds is 1 January 2024 at 00:00 UTC.

Date and time (UTC)

Monday, January 1, 2024 at 00:00

Unix seconds
1704067200
Unix milliseconds
1704067200000
ISO 8601 (UTC)
2024-01-01T00:00:00.000Z
UTC
Monday, January 1, 2024 at 00:00
Relative to now
990 days ago
Offset applied
0 seconds

What this calculator does

Convert Unix timestamps in seconds or milliseconds to readable UTC dates, turn a date into epoch time, and add or subtract seconds, minutes, hours or days.

Inputs and what they mean

Convert
choice value.
Unix timestamp
Seconds or milliseconds since 1 January 1970 UTC..
Timestamp unit
choice value.
Date and time (UTC)
datetime-local value.
Add or subtract
number value.
Offset unit
choice value.
Time format
12 or 24 hour value.

How to use it

  1. Choose whether to convert a timestamp to a date or a date to a timestamp.
  2. Enter the value, and optionally add or subtract seconds, minutes, hours or days.
  3. Press Calculate to see seconds, milliseconds, ISO 8601 and readable UTC time.

Formula

Unix (epoch) time counts seconds since 1 January 1970 00:00:00 UTC. Milliseconds are the same count multiplied by 1,000.

Worked example

Start of 2024

1704067200 seconds is 1 January 2024 at 00:00 UTC.

Reading the result

The headline figure is the main answer. Any breakdown underneath shows the parts that make it up, so you can check the working and see what changes when you adjust an input.

Limitations and assumptions

Results depend entirely on the figures you enter and are rounded for display. They are for general information and education, not professional advice.

Common questions

Related tools

Calculate exact age in years, months, days, and total elapsed days.

Everyday

Find the calendar and total-day difference between two dates.

Everyday

Calculate elapsed hours and minutes between two times, including overnight.

Everyday

Count working days between two dates.

Everyday

Total hours across multiple work shifts.

Everyday

See live time remaining or elapsed.

Everyday