Unix Timestamp Converter
Epoch to date, date to epoch, either way.
Timestamp → date
Seconds or milliseconds, auto-detected
Date → timestamp
Nothing you type is stored or sent.
About
Convert a Unix timestamp to a date, or a date to a timestamp. The first box reads seconds or milliseconds automatically and shows ISO 8601, UTC, your local time and how long ago (or from now) it is. The second box picks a local date and time and shows its epoch value. Runs in your browser.
- What is a Unix timestamp?
- The number of seconds (or milliseconds) since 00:00:00 UTC on 1 January 1970 ("the epoch"). It's how most systems store a point in time without a timezone attached.
- How does it know seconds from milliseconds?
- By size: a value under about 100 billion is read as seconds, at or above that as milliseconds. Current times in seconds are 10 digits; in milliseconds, 13.
- What does a negative timestamp mean?
- A date before 1 January 1970. The converter handles negative values the same way as positive ones.
- Why does the date-to-timestamp box use my local time?
- The date and time picker has no timezone of its own, so the value you pick is read as your browser's local time before converting to epoch seconds.