Epoch / Unix Timestamp Converter Free

Paste a Unix timestamp to see the date it represents, or pick a date to get its timestamp. Seconds, milliseconds and microseconds are detected automatically.

⏱️ Timestamp → date

Current Unix time

Seconds—
Milliseconds—
Seconds, milliseconds, microseconds or nanoseconds.

📅 Date → timestamp

Pick a date and time, and the zone it is in.

📅Choose a date to convert.
Code snippets
// JavaScript
Math.floor(Date.now() / 1000)
// Python
import time; int(time.time())
// PHP
time();
// SQL (PostgreSQL)
SELECT extract(epoch FROM now());
Built by Pyalm

Pyalm builds custom software, APIs and integrations for businesses in India and the UAE. We made these developer tools for our own team — use them free, and talk to us when you need something built.

Pyalm serviceCustom softwareInternal tools, portals and business systems built around how your team actually works — not the other way round.See custom software Pyalm serviceBusiness automationConnect your apps and remove copy-paste work — approvals, reports, document flows and notifications on autopilot.See business automation

What epoch time is

Unix (epoch) time counts the seconds since 00:00:00 UTC on 1 January 1970. Because it is just a number with no time zone attached, it is the standard way databases, logs, JWTs and APIs store moments in time — and the source of many 'why is this date wrong by 5½ hours' bugs.

Seconds vs milliseconds

Unix tools and most APIs use seconds (10 digits today); JavaScript's Date.now() and Java use milliseconds (13 digits). Mixing them up lands you in 1970 or the year 50,000. The converter looks at the size of the number and picks the right unit for you.

Related

More free tools you might need

🌍

Time Zone ConverterFree

Compare times across cities and find a meeting slot that works — Dubai, India, London, New York and more.

⏰

Cron Expression GeneratorFree

Build cron schedules visually, read them in plain English and preview the next run times.

🎫

JWT DecoderFree

Decode a JSON Web Token's header and payload and read its claims and expiry.

Browse all free tools

FAQ

Frequently asked questions

What is the current Unix timestamp?

It is shown live at the top of the tool, in both seconds and milliseconds, and updates every second.

Does epoch time have a time zone?

No. A Unix timestamp always counts from midnight UTC on 1 January 1970, so the same number is the same instant everywhere. Time zones only apply when you display it as a calendar date.

What is the year 2038 problem?

Systems that store Unix time as a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038. Modern systems use 64-bit integers, which push the limit billions of years away.

Does Unix time count leap seconds?

No. Unix time assumes every day has exactly 86,400 seconds, so leap seconds are not counted. For almost all business software this makes no practical difference.

Need a tool built for your own workflow?

Pyalm builds custom software, APIs and integrations for businesses in India and the UAE. We made these developer tools for our own team — use them free, and talk to us when you need something built.

See custom software