Processing your request...
Convert Unix timestamps to dates and back, in UTC or your time zone.
Current Unix timestamp
—
Seconds, milliseconds, microseconds or nanoseconds.
Read as your local time (UTC).
All times in UTC.
| Timestamp | Date (UTC) | Note |
|---|---|---|
| 0 | 1 Jan 1970 00:00:00 | The Unix epoch |
| 1000000000 | 9 Sep 2001 01:46:40 | First 10-digit timestamp |
| 1234567890 | 13 Feb 2009 23:31:30 | Celebrated by programmers |
| 1700000000 | 14 Nov 2023 22:13:20 | |
| 1800000000 | 15 Jan 2027 08:00:00 | |
| 2000000000 | 18 May 2033 03:33:20 | |
| 2147483647 | 19 Jan 2038 03:14:07 | Largest 32-bit value (Y2038) |
Add these to a timestamp to move it forward.
Each returns whole seconds since the epoch.
| JavaScript | Math.floor(Date.now() / 1000) |
| Python | import time; int(time.time()) |
| PHP | time() |
| Java | Instant.now().getEpochSecond() |
| Go | time.Now().Unix() |
| C# | DateTimeOffset.UtcNow.ToUnixTimeSeconds() |
| MySQL | SELECT UNIX_TIMESTAMP(); |
| PostgreSQL | SELECT extract(epoch FROM now()); |
| Shell | date +%s |
Like 1764000000 or 1764000000000. The date appears straight away.
Choose a date and time, in your time zone or UTC, to get its timestamp.
Every row has its own copy button.
The current timestamp, ticking every second, ready to copy.
Paste any timestamp; the unit is detected from its length.
See dates in UTC and your local time, and convert either way.
ISO 8601, UTC string, local date and how long ago it was.
Your rating helps us decide what to improve.