Unix Timestamp To Date
Calculator

Inputs

Calendar year (UTC)
2,025

Results

Calendar year (UTC)
2,025
Calendar month (UTC)
1
Calendar day (UTC)
1
Days since the Unix epoch
20,089

Time and date results

Calendar year (UTC)2,025
Calendar month (UTC)1
Calendar day (UTC)1
Days since the Unix epoch20,089

formula-map diagram

Calendar year (UTC)
2,025
Calendar month (UTC)
1
Calendar day (UTC)
1
Days since the Unix epoch
20,089

Time relationship

Formula

UTC date = Unix epoch (1970-01-01T00:00:00Z) + epoch seconds

= 2025

Note

This is a simplified model: it uses fixed conversions (60 minutes per hour, 24 hours per day, 7 days per week, 365 days per year) and ignores leap years, daylight saving changes, public holidays and irregular month lengths. Check the result against a real calendar before relying on it.

Example: with the default inputs, calculator.timedate.calendar_year is 2025.

More in Time and date

See all →

Frequently asked questions

How do I convert a Unix timestamp to a date?+

Enter the number of seconds since the Unix epoch (1970-01-01 00:00:00 UTC). The calculator adds those seconds to the epoch and returns the UTC year, month and day.

What time zone does the result use?+

The date is calculated in UTC. A local time zone can shift the date by a day if your local time is far from UTC.

Does it accept milliseconds?+

No, the field expects seconds. If your timestamp has 13 digits it is in milliseconds, so divide it by 1,000 before entering it.

What is the days since epoch value?+

It is the number of whole days between 1970-01-01 and the timestamp, rounded down (the timestamp divided by 86,400 seconds).

Can I enter a negative timestamp?+

The field accepts any number, and the calculator applies the same formula. A negative value is read as seconds before the 1970 epoch.