Epoch converter
Convert Unix timestamps and dates in either direction in your browser.
Results
- Local time
- UTC
- ISO 8601
- RFC 2822
- Timestamp in seconds
- Timestamp in milliseconds
How it works, and what stays on your device
Enter a timestamp or a date and time, then convert it. Auto treats timestamps with 12 or more integer digits as milliseconds and shorter values as seconds. Choose a unit explicitly if needed.
Dates without an offset use the selected time zone. Add Z or an offset such as +01:00 to specify an instant. Your input stays in your browser.
Frequently asked questions
What is a Unix timestamp?
It is the time since 1 January 1970 at 00:00 UTC, usually measured in seconds or milliseconds. Negative values are before the epoch.
Why does a local time need an offset?
Clocks can skip or repeat local times during daylight saving changes. An explicit offset identifies the intended instant.
Does RFC 2822 include milliseconds?
RFC 2822 shows whole seconds and is unavailable before 1900. Use ISO 8601 or the millisecond timestamp to retain subsecond precision.
How does automatic unit detection work?
Auto uses milliseconds for 12 or more integer digits and seconds for shorter values. Select a unit to override the guess.