Unix timestamp converter
Turn epoch seconds or milliseconds into a readable date, or a date into a timestamp.
Timestamp to date
Discord timestamp codes
Paste a code into a Discord message; each reader sees it in their own time zone.
Date to timestamp
How to use it
- Paste a timestamp. Ten digits are read as seconds, thirteen as milliseconds; switch the unit if you need to.
- Read the date in UTC, in your own time zone and relative to now, plus ready-made Discord codes.
- To go the other way, pick a date and time and say whether it is your time or UTC; copy the seconds or milliseconds.
What a Unix timestamp is
Unix time counts the seconds since 00:00:00 UTC on 1 January 1970, the Unix epoch. It ignores leap seconds and time zones, which is why databases, logs and APIs use it: one number means the same instant everywhere.
JavaScript and many web APIs count milliseconds instead, so their timestamps have three more digits. A timestamp from the 2020s is ten digits in seconds and thirteen in milliseconds.
| Timestamp | Unit | Date (UTC) |
|---|---|---|
| 0 | seconds | 1 January 1970, 00:00:00 |
| 1000000000 | seconds | 9 September 2001, 01:46:40 |
| 1767225600 | seconds | 1 January 2026, 00:00:00 |
| 2147483647 | seconds | 19 January 2038, 03:14:07 |
The 2038 problem
Systems that store Unix time in a signed 32-bit integer run out at 2,147,483,647 seconds, which is 03:14:07 UTC on 19 January 2038. Modern systems use 64-bit values, which last far longer; this converter works with any whole number your browser can hold as a date.
Discord timestamps
Discord turns <t:1767225600:F> in a message into a date shown in each reader’s own time zone. The letter picks the style: t and T for short and long time, d and D for short and long date, f and F for date and time, R for relative time such as “in 3 days”.
Related tools
Questions people ask
How do I convert a Unix timestamp to a date?
Paste it in the timestamp field. The converter shows the date in UTC, in your time zone and relative to now.
Is my timestamp in seconds or milliseconds?
Count the digits: ten for seconds and thirteen for milliseconds for any date from 2001 to 2286. The converter detects this, and you can override it.
Does Unix time include time zones?
No. A timestamp is the same everywhere; only its display depends on a time zone. That is why the converter shows UTC and your own zone side by side.
How do I get the current Unix time?
It ticks at the top of the tool. Copy it with one click.
How do I make a Discord timestamp?
Pick the date and time in the second part of the tool, or paste a timestamp, then copy one of the Discord codes into your message.