Convert Unix timestamps to dates and back
Turn a Unix time number into a date in UTC or another offset, or a date into the number.
Good to know
- The Epoch is 1970-01-01 00:00:00 UTC (POSIX).
- POSIX leaves the relation undefined for years before 1970 or negative values. This tool computes them anyway, but the standard does not promise them.
- The unit is guessed from digit count (up to 11 digits seconds, 14 ms, 17 microseconds). It is a guess, so change it if wrong.
- Time zones are fixed offsets. No daylight saving rules are applied.
Your input is processed in this browser only and never sent to a server. Results follow the standards and library behavior; check them before you put them in production.