Epoch to Date Converter
Turn a Unix epoch timestamp into a human-readable date and time, shown in UTC or any fixed time-zone offset.
Unit
Time-zone offset
How does this calculator work?
Multiply a seconds epoch by 1000 (or keep milliseconds as-is), add your chosen offset in minutes, and read the result in UTC to get the local wall-clock date and time. The tool also shows the UTC date, weekday, day-of-year, and an ISO string with the offset suffix.
Formula
How this is calculated
Enter the epoch timestamp and choose its unit. A Unix epoch counts the elapsed time since 1970-01-01T00:00:00Z. If the unit is seconds the value is multiplied by 1000 to get milliseconds (ms = epoch × 1000); if it is already milliseconds it is used as-is, because JavaScript Date works in milliseconds.
To display the moment at a fixed time-zone offset, the offset (in minutes) is added to the millisecond value and the result is read with the UTC getters: shifted = new Date(ms + offset × 60000). Reading UTC fields of a deliberately shifted instant yields the wall-clock year, month, day, hour, minute and second seen at that offset. The weekday comes from getUTCDay() and the day-of-year is the whole number of days since January 1 of that year plus one. The true UTC date-time is read directly from the unshifted value, and the ISO string appends the offset suffix (Z for UTC, otherwise +HH:MM or -HH:MM).
This approach uses a fixed numeric offset, so it does not apply daylight-saving transitions or political time-zone rules — pick the offset that is in effect for your date. Negative epoch values represent dates before 1970 and are handled correctly. Non-numeric input or an out-of-range timestamp produces no result.
Frequently asked questions
Most Unix systems store epoch in seconds (10 digits for current dates), while JavaScript and many APIs use milliseconds (13 digits). Pick the unit that matches your timestamp; choosing the wrong one shifts the date by a factor of 1000.
No. It applies a single fixed offset you select, so it does not switch between standard and summer time. Choose the offset that was active on the target date for an accurate local reading.
Yes. Negative epoch values represent moments before the Unix epoch and are converted correctly to their corresponding calendar dates.
Also known as
TG we-Calculate Editorial Team. (2026). Epoch to Date Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/epoch-to-date-converter
TG we-Calculate Editorial Team. "Epoch to Date Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/epoch-to-date-converter.
TG we-Calculate Editorial Team, "Epoch to Date Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/epoch-to-date-converter
@misc{wecalculate_epoch_to_date_converter, title = {Epoch to Date Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/epoch-to-date-converter}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
