← Back to Home

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates.

Current Unix Timestamp
1776859666

# Timestamp to Date

Resulting Date
Enter a timestamp...

📅 Date to Timestamp

Unix Timestamp
Select a date...

About this tool

The Unix Timestamp Converter turns epoch integers into human-readable dates and vice versa. Paste any timestamp in seconds or milliseconds and see it formatted in UTC, your local timezone, and ISO 8601; or enter a date and get the epoch value back. The live clock at the top of the tool shows the current Unix time updating every second, useful when you need to hard-code "now" into a test payload or database seed.

Use it when you're debugging log files that only store epoch time, translating between API responses that use different formats (seconds vs. milliseconds), or confirming that a scheduled job will fire at the moment you expect. Timezone offsets, DST transitions, and leap-second edge cases are all handled by the browser's native Date implementation, which is reliable for any date after 1970.

Formula

Unix time = seconds since 1970-01-01 00:00:00 UTC. To convert to milliseconds, multiply by 1,000. To convert to a Date in JavaScript: new Date(timestamp * 1000). Add or subtract 60, 3600, or 86400 to shift by minutes, hours, or days respectively.

When to use it

Daily tasks: reading timestamps out of logs, parsing API responses, setting scheduled job expressions, or sanity-checking that a token's expiry is what you think it is. Pair with the JSON Formatter when the timestamp is buried in a JSON payload, and the Encoding Converter when the payload itself is Base64-encoded.

Frequently asked questions

What is the current Unix timestamp?
The tool shows the live current timestamp, updating every second. Unix time is the number of seconds since 00:00:00 UTC on 1 January 1970, so as of right now it's a number a bit above 1.76 billion.
How do I convert a Unix timestamp to a date?
Paste the timestamp (seconds or milliseconds, the tool auto-detects) into the input and the converted date appears in UTC and your local timezone. 1700000000 corresponds to 14 November 2023 22:13:20 UTC.
Is a Unix timestamp in seconds or milliseconds?
Depends on the source. Classic Unix time and Linux system calls use seconds. JavaScript's Date.now() and most modern APIs use milliseconds. If your number has 10 digits it's seconds; 13 digits is milliseconds. The converter handles both.
What is the year 2038 problem?
32-bit signed Unix timestamps can't represent any time after 03:14:07 UTC on 19 January 2038, because the number overflows. Most modern systems have moved to 64-bit timestamps, but legacy C code, embedded devices, and old databases are still at risk.
How do I get a Unix timestamp in JavaScript?
For milliseconds, use Date.now(). For seconds (classic Unix time), use Math.floor(Date.now() / 1000). Both return the current epoch, UTC-anchored, so results are identical regardless of the server's local timezone.
What's the difference between ISO 8601 and Unix timestamp?
ISO 8601 is a human-readable string like 2024-03-15T10:30:00Z; a Unix timestamp is an integer like 1710498600. ISO preserves timezone information; Unix time is always UTC. Converting between them is standard: both libraries and this tool handle it.