We use essential cookies to keep you signed in and protect forms. We also use analytics to count visits and see how pages are used. Ads on our free tools may set cookies to show and measure ads. Cookie notice
Unix Timestamp Converter
Translate epoch numbers into readable dates and back, including Indian Standard Time.
Your files stay with you. Your files never leave your browser. This tool runs on your device: nothing is uploaded to our servers, so there is nothing for us to store or see.
How to use it
1Paste a timestamp, or type a date and time.
2Pick the unit and time zone if needed.
3Copy the result.
Where it helps
Debugging
Read created_at and expiry values in logs, databases and API responses.
Scheduling
Turn a launch date in India time into a timestamp for code or a config.
Tokens
Check when a JWT or link expiry timestamp actually runs out.
Good to know
Stays in your browser
Everything is worked out on your device and never sent to our servers.
Timestamps have no zone
Only the way you display them does.
10 or 13 digits
Seconds or milliseconds; force the unit if needed.
How do you convert a Unix timestamp to a date, or a date to a timestamp?
Paste a timestamp and the tool detects seconds, milliseconds, microseconds or nanoseconds, then shows the date in UTC, India time (IST, UTC+5:30) and your device's zone, plus ISO 8601 and how long ago it was. To go the other way, type a date and time, pick the zone and copy the timestamp. The current Unix time is one click away.
AutoUnit detection.s, ms, µs, ns.
ISTUTC and device.Side by side.
ISO 8601And relative.'3 hours ago'.
2038No problem.64-bit numbers.
Is my timestamp in seconds or milliseconds?
Ten digits, like 1760700000, are seconds, and thirteen digits, like 1760700000000, are milliseconds. Sixteen and nineteen digits usually mean microseconds and nanoseconds. The tool detects the unit automatically and shows which one it used, and you can force a unit when a value is ambiguous.
What is a Unix timestamp?
It's the number of seconds since 1 January 1970, 00:00:00 UTC, a moment known as the Unix epoch. It doesn't depend on time zones; only how you display it does. That's why servers, databases and APIs store time this way and convert to local time only for people.
How do I get India time?
Results always show UTC, India (IST, UTC+5:30) and your device's zone side by side, so there's no mental maths. For date to timestamp, choose India (IST) as the zone before typing the date and time, so the timestamp matches the Indian time you mean. Your device's zone is shown too.
Does it handle the year 2038 problem?
Yes. The year 2038 problem affects systems that store seconds in 32-bit numbers, which overflow in January 2038. The browser uses 64-bit numbers, so dates well past 2038 convert correctly, within the range browsers can show. Check your own databases and devices separately. Older devices are the usual risk.
How do I get the current timestamp?
The current Unix time in seconds is shown at the top, with a button to copy it or use it below. That's handy for testing an API that expects a time, setting a config value or comparing against a timestamp in a log line you're reading.
What is ISO 8601?
ISO 8601 is the international date format, such as 2026-11-17T09:30:00Z, with the year first and a 24-hour time. The Z means UTC; an offset such as +05:30 means India time. Many APIs prefer it to Unix timestamps because people can read it while machines can still sort it.
Why is my date off by five and a half hours?
The timestamp was probably created or read in UTC while you expected India time, or the other way round. India is UTC+5:30, so a mix-up shifts the time by exactly five and a half hours. Compare the UTC and IST rows here to see which one your system used.
How do I convert a date to a timestamp?
Type the date and time as year-month-day and a 24-hour time, choose the zone the time belongs to, and read the timestamp in seconds and milliseconds. Pick the zone carefully: 9 am in India and 9 am UTC are different moments, with different timestamps. Copy whichever unit you need.
What does the relative time show?
It shows how far the date is from now, such as '3 hours ago' or 'in 2 days'. That makes it quick to judge whether a token has expired, how old a log entry is or how long until a scheduled job runs, without working out the difference yourself.
Why does JavaScript use milliseconds?
JavaScript's Date.now() and most browser APIs count milliseconds since the epoch, while Unix tools, Python's time() and many databases use seconds. Mixing them gives dates in 1970 or far in the future. If a date looks wildly wrong, check the unit first. Divide by 1,000 to convert.
Can I convert negative timestamps?
Yes. Negative numbers are dates before 1 January 1970. For example, -86400 is 31 December 1969. Very old or very distant dates beyond what a browser can show produce a clear message instead of a wrong answer, so you'll always know when you've hit the limit.
Do leap seconds matter?
Unix time ignores leap seconds, so every day is exactly 86,400 seconds. That keeps calculations simple and is how almost every system works. You'll only notice the difference in specialised fields such as astronomy or precise time synchronisation. For logs, tokens and scheduling, you can safely ignore them altogether.
Is anything sent to a server?
No. Conversions use your browser's built-in date and time zone support, and nothing is sent to our servers or stored. Timestamps from your logs and databases stay on your device, which matters when they sit next to user data or internal details. Nothing is kept after you close the tab.
Does it work on a phone?
Yes. Paste a timestamp from a log or message on your phone and read the date in UTC and IST at once, or copy the current time. It runs in any modern mobile browser with no app, which is handy when you're checking an alert away from your desk.
Is the Unix timestamp converter free?
Yes. It's free with no sign-up and no limit on use. It's one of the free developer tools from Marketiism, along with the cron explainer and the JWT decoder. Marketiism builds software that runs WhatsApp, billing and bookings. Use it as often as you need, for any project.
Want this inside your own account?
Marketiism keeps your invoice numbers, GST reports, UPI payment links and WhatsApp reminders in one place. Leave your details and we'll call to set it up for your business, or start the trial yourself.