Unix Timestamp Converter
Convert Unix epoch seconds, milliseconds, microseconds, and nanoseconds into UTC, local time, ISO 8601, RFC-style dates, and timezone-aware output. The current Unix timestamp also updates live while you are on the page.
Current Unix Time
Current Unix seconds update live on page open
ISO 8601 output updates from your browser clock
The current local date, UTC date, and selected timezone output are calculated in your browser so the page keeps working on a static build.
At A Glance
Current Unix seconds, milliseconds, and ISO output appear here after the page loads.
Browser time zone: Detected from your device
Unix Seconds
Live current epoch seconds
Unix Milliseconds
Live current epoch milliseconds
UTC Time
Current UTC date and time
Local Time
Current local date and time
Convert Any Timestamp or Date
Paste a Unix timestamp or date string. The converter auto-detects seconds, milliseconds, microseconds, and nanoseconds for numeric values, then shows UTC, local time, and selected timezone output side by side.
Instant Answer
Awaiting input
UTC
UTC date and time appear here
Selected Time Zone
Selected timezone output appears here
Local Time
Your local browser time appears here
Relative Time
Relative time appears here
More Formats and Raw Values Expand
Unix Seconds
10-digit epoch seconds appear here
Unix Milliseconds
13-digit epoch milliseconds appear here
Unix Microseconds
16-digit epoch microseconds appear here
Unix Nanoseconds
19-digit epoch nanoseconds appear here
ISO 8601
ISO 8601 output appears here
RFC Date
RFC-style date output appears here
Quick Examples
Tap an example to fill the converter instantly.
What This Tool Handles Expand
- Unix seconds, milliseconds, microseconds, and nanoseconds
- UTC, local browser time, and a selected IANA timezone
- Pre-1970 negative timestamps when the browser supports them
- ISO 8601 and RFC-style timestamp strings in the converter input
- DST-aware date-to-timestamp generation in the selected timezone
Build a Timestamp from a Date in a Specific Time Zone
Use this section when you know the wall-clock date and time in a particular region and need the correct Unix timestamp. The selected timezone rules are applied for the chosen date, including daylight saving transitions.
Unix Seconds
Build output appears here
Unix Milliseconds
Build output appears here
UTC Result
UTC output appears here
Selected Zone Result
Selected timezone output appears here
What a Unix Timestamp Actually Is
A Unix timestamp is the number of elapsed seconds since January 1, 1970 at 00:00:00 UTC. That reference point is called the Unix epoch. Many systems still store the value in seconds, while JavaScript and many APIs use milliseconds instead.
Time zones do not change the timestamp itself. They only change how that instant is displayed as a human-readable date and time. That is why the same Unix value can appear as different clock times in London, New York, Tokyo, or your own local browser timezone.
Seconds vs Milliseconds vs Microseconds
The most common confusion is the unit. Current epoch values in seconds are usually 10 digits long. Milliseconds are usually 13 digits, microseconds are around 16 digits, and nanoseconds are around 19 digits. This page auto-detects those scales for integer inputs and also lets you override the unit manually when needed.
If an API returns a timestamp that seems decades away from the expected result, the unit is usually the reason. Converting a millisecond timestamp as if it were seconds will throw the date far into the future.
Common Developer Snippets Expand
| Language | Current Timestamp | Convert Example |
|---|---|---|
| JavaScript | Math.floor(Date.now() / 1000) | new Date(1700000000 * 1000).toISOString() |
| Python | int(time.time()) | datetime.datetime.utcfromtimestamp(1700000000) |
| PHP | time() | date('c', 1700000000) |
| PostgreSQL | EXTRACT(EPOCH FROM now()) | TO_TIMESTAMP(1700000000) |
| MySQL | UNIX_TIMESTAMP() | FROM_UNIXTIME(1700000000) |
| Unix Shell | date +%s | date -d @1700000000 -u |
These examples are reference shortcuts. Use the converter above when you need to verify a real API response, log entry, webhook payload, or database value.
Frequently Asked Questions
Does a timezone change the Unix timestamp?
No. A Unix timestamp represents one instant in time. Timezones only change how that instant is displayed for people.
How can I tell whether a value is seconds or milliseconds?
Current Unix seconds are typically 10 digits and current milliseconds are typically 13 digits. This page auto-detects the common scales for integer input and lets you override the unit when needed.
Can this page convert dates before 1970?
Yes. Negative Unix timestamps represent instants before the Unix epoch, as long as your browser's date implementation supports the range you enter.
What is the Year 2038 problem?
Some older 32-bit systems store Unix time in signed 32-bit integers, which overflow on January 19, 2038. Modern 64-bit systems avoid that practical limit for normal applications.