timestamp → date
Unix Timestamp to Date Converter
Enter a Unix timestamp in seconds, milliseconds, microseconds or nanoseconds. The unit is detected automatically — override it any time — and the instant is rendered in UTC, your local timezone, any IANA timezone, and every standard date format, with copy buttons on each result.
Accepts Unix timestamps (s / ms / µs / ns), ISO 8601, RFC 2822 and common date strings.
Timestamp
Unix timestamp (seconds)
—
Milliseconds
—
Microseconds
—
Nanoseconds
—
Date & time
UTC
—
Local time
—
Selected timezone
—
Relative time
—
ISO 8601
—
RFC 3339
—
RFC 2822
—
How timestamp-to-date conversion works
A Unix timestamp counts seconds from 1970-01-01 00:00:00 UTC, so converting it to a date is pure arithmetic: divide by 86,400 to find the day number since the epoch, map that to a calendar date, and use the remainder for the time of day. Timezone and daylight-saving rules then shift the display — never the instant itself.
// JavaScript — seconds to Date
new Date(1758000000 * 1000).toISOString();
// "2025-09-16T05:20:00.000Z"
// Python
from datetime import datetime, timezone
datetime.fromtimestamp(1758000000, timezone.utc)
# datetime(2025, 9, 16, 5, 20, tzinfo=timezone.utc)
// PHP
gmdate('Y-m-d H:i:s', 1758000000);
// "2025-09-16 05:20:00"Which unit is my timestamp?
Count the digits. For dates in the current era:
- 10 digits — seconds (C, PHP, Python, Go, most REST APIs)
- 13 digits — milliseconds (JavaScript, Java, Kotlin)
- 16 digits — microseconds (PostgreSQL, distributed traces)
- 19 digits — nanoseconds (Go
UnixNano(), Linux kernel)
The auto-detection above uses these magnitude ranges rather than a blind digit count, and negative timestamps are supported for pre-1970 dates.
Timestamp to date examples
| Timestamp | UTC |
|---|---|
| 1 | 1970-01-01 00:00:01 |
| 1000000000 | 2001-09-09 01:46:40 |
| 1700000000 | 2023-11-14 22:13:20 |
| 1758000000 | 2025-09-16 05:20:00 |
| 2147483647 | 2038-01-19 03:14:07 |
| -1 | 1969-12-31 23:59:59 |
Frequently asked questions
How do I convert a Unix timestamp to a readable date?
new Date(1758000000 * 1000).toISOString().Why does my timestamp show a date in 1970?
new Date() takes milliseconds, so new Date(1758000000) is January 21, 1970. Multiply by 1,000: new Date(1758000000000).Why does my timestamp show a date thousands of years in the future?
date("Y", 1758000000000) in PHP. Divide by 1,000 first.Can I convert negative timestamps?
-1 is 1969-12-31 23:59:59 UTC and -86400 is 1969-12-31 00:00:00 UTC. The converter handles them like any other value.How precise is the conversion?
BigInt arithmetic, so microsecond and nanosecond timestamps are converted without the rounding errors JavaScript Number would introduce beyond 253.Related tools
Unix Timestamp Converter
Convert timestamps and dates with automatic unit detection — seconds, milliseconds, microseconds, nanoseconds.
Date to Timestamp
Pick a date, time and IANA timezone to get the exact Unix timestamp in every precision.
Current Unix Time
Live Unix timestamp in seconds, milliseconds, microseconds and nanoseconds with copy buttons.
Epoch Converter
The classic epoch time converter: bidirectional conversion between epoch values and human-readable dates.
Timezone Converter
See one instant across multiple IANA timezones side by side, with add, reorder and copy-all.
Batch Timestamp Converter
Paste a list of timestamps and convert them all at once. Copy as a table or download CSV.