Converters

Epoch Converter Tool

Unix Timestamps

Convert a timestamp

Type a Unix timestamp or a date. Each side updates the other, right in your browser.
seconds

Seconds or milliseconds. The unit is detected for you.

ISO 8601 works too, and so does a zone like PST.

Jump to
Clock

Tool features

Comprehensive Unix timestamp conversion with timezone support and flexible formatting options
4 features

Unix Timestamp Conversion

Convert between Unix timestamps (seconds or milliseconds) and human-readable dates

Timezone Support

Support for all IANA timezones with automatic abbreviation detection

Flexible Date Formats

Multiple date and time format options including 12-hour and 24-hour formats

Live Clock

Real-time clock display showing current time in your selected timezone

What is Unix epoch time & how it works

One number for any moment, in any time zone

A Unix timestamp (epoch time) counts the seconds since 00:00:00 UTC on 1 January 1970. It is a single number with no time zone attached, which is why databases, APIs, logs and JWTs use it to record moments unambiguously.

Humans need that number turned back into a date in a particular zone. This converter goes both ways: timestamp to date in UTC or any IANA time zone, and date to timestamp. It recognises millisecond timestamps (13 digits, as JavaScript uses) as well as seconds, and uses Luxon for accurate time-zone and daylight-saving handling.

Seconds vs milliseconds
10 digits is seconds; 13 digits is milliseconds (JavaScript Date.now()).
UTC
The zone-free reference time a timestamp is counted in.
IANA zone
Names like Europe/London that include daylight-saving rules.

How to use this tool

Convert a timestamp in four steps
1
Enter a timestamp or date
Paste a Unix timestamp in seconds or milliseconds, or pick a date and time.
2
Choose a time zone
Select UTC or any IANA time zone for the human-readable side.
3
Pick a format
Choose the date format and 12- or 24-hour clock you want.
4
Copy the result
Copy the converted date or timestamp into your code, query or log search.

Frequently asked questions

Common questions about Unix timestamps
5 Q&A

The live clock at the top of the page shows it. In code use Math.floor(Date.now() / 1000) in JavaScript, time.time() in Python or date +%s in a shell.

Present-day timestamps in seconds have 10 digits (around 1.7 billion); in milliseconds they have 13. This converter detects which one you entered.

No. A timestamp is the same everywhere; only its display depends on the time zone. Store timestamps in UTC and convert to local time when showing them.

Systems that store seconds in a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038. Modern systems use 64-bit time values and are unaffected.

No. Unix time assumes every day has exactly 86,400 seconds, so leap seconds are not counted.