How to convert a Unix timestamp
- Paste a timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected from the number of digits.
- Or switch to Date & time and pick a date to get its timestamp.
- Read the result in your local time, UTC, ISO 8601 and relative time, and copy any line.
- Copy a Discord time tag and paste it into a message.
When it helps
- Reading logs
- Turn a timestamp like 1767225600 from a log or database into a readable date.
- Discord events
- Post an event time that every member sees in their own time zone, like "Saturday, 3 January 2026 at 20:00".
- Setting expiry times
- Get the timestamp for a date to use as an expiry in a token, cookie or API request.
Questions
What is a Unix timestamp?
It's the number of seconds since 1 January 1970 at 00:00 UTC. It's the same everywhere in the world, so it's a simple way to store a moment in time.
How does it tell seconds from milliseconds?
By length. Today's timestamps have 10 digits in seconds and 13 in milliseconds. You can also pick the unit yourself.
How do Discord timestamps work?
A tag like <t:1767225600:F> shows as a date in each reader's own time zone and language. :R shows relative time like "in 2 hours".
What happens in 2038?
Systems that store seconds in a signed 32-bit number overflow on 19 January 2038. This converter uses larger numbers, so dates far beyond that work.
Which time zone is used?
Your device's time zone for local time, plus UTC. The date picker also uses your local time zone.
Privacy
Conversions run in your browser. Nothing is sent or stored.
Limitations
- Dates must fall between the years -271821 and 275760, the range JavaScript dates support.
- Leap seconds are not counted, matching how Unix time works.