AllMyCalculators

Epoch Converter: Date to Unix Timestamp

Gives the Unix timestamp for a date and time you choose, in UTC.

Treated as a UTC date.

Timestamp in seconds
—

Share sends a link that reopens these numbers. Copy details pastes the full breakdown as a list.

Timestamp in milliseconds —
Date and time (UTC) —
Date —

The formula

timestamp = days since 1 January 1970 × 86,400 + hours × 3,600 + minutes × 60 + seconds

Unix time ignores leap seconds. To enter a local time, first subtract your offset from UTC.

What to watch out for

Enter the time in UTC. For a local time, take off your offset from UTC first.

Frequently Asked Questions

What is the Unix epoch?

Midnight UTC on 1 January 1970, timestamp 0, which is Thursday 1 January 1970.

What is the timestamp for 1 January 2030?

1893456000 at midnight UTC.