Convert in both directions
Enter a Unix timestamp and get local time, UTC, ISO 8601, RFC 2822, milliseconds, day of week and a relative description such as "in 3 days". Or pick a date and time and the tool returns the epoch value. Two buttons fill in the current time or the epoch itself.
Seconds or milliseconds
Choose the unit for input. A 13-digit positive number is detected automatically as milliseconds, which covers most JavaScript timestamps; everything else follows the selected unit. Output always shows both.
Accuracy caveats
- Relative descriptions use a fixed 365-day year and 30-day month, so they are approximations.
- Conversion is to your local zone or UTC. Choosing an arbitrary IANA zone is not supported.
- The date field discards seconds and resets the unit selector after each render.
A worked example
The timestamp 1767225600 is 1 January 2026 at 00:00:00 UTC, which displays as the evening of 31 December 2025 for visitors several hours west of UTC. The same instant in milliseconds is 1767225600000, and the tool recognises that 13-digit form automatically.
Where it stops
No microseconds or nanoseconds, no ISO week dates and no cron calculation. To add or subtract time from a date use the date calculator; to convert between named zones use the time zone converter.
Questions people ask
What is the Unix epoch?
Midnight UTC on 1 January 1970. Timestamps count from there, and negative values are dates before it.
Does daylight saving change the timestamp?
No. The timestamp is zone-free; only the local-time display follows your system's DST rules.