Developer Time

Epoch converter

Direction
Epoch time
UTC date and time 2001-09-09T01:46:40Z
Epoch is 1 January 1970, 00:00:00 UTC
In words Sunday 9 September 2001
Day of the week Sunday
Read as read as seconds
Date only 2001-09-09
Note
Negatives are valid, and often mishandled
Advertisement
320 × 100

The Unix epoch is midnight UTC on 1 January 1970, and epoch time counts seconds from it. Epoch 1000000000 was 9 September 2001 — a moment widely noted at the time as a round-number milestone.

How to convert epoch time

1 Paste the epoch value.
2 Read the date and time in UTC.
3 Switch tabs to convert a date to epoch.
4 The "read as" row confirms whether it was taken as seconds or milliseconds.

Negative epoch values are perfectly valid and represent dates before 1970 — epoch −86400 is 31 December 1969. A surprising amount of software mishandles them, either rejecting the value or producing a date decades out, because the implementation assumed unsigned arithmetic. It is worth testing if you are handling historical dates rather than log timestamps.

Questions

Midnight UTC on 1 January 1970. Epoch time counts seconds from that moment.

Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING