Skip to content

Converters

Unix Timestamp Converter

Read a timestamp from a log, database or API as a human-friendly date, or create a timestamp from a specific date. Indonesian time zones are built in.

Free · no sign-up · runs in your browser · updated

Use Unix Timestamp Converter

Current timestamp

…

Seconds since 1 January 1970 UTC. Milliseconds, microseconds and nanoseconds are detected automatically.

Enter a timestamp to see its date.

How to get the timestamp in code
JavaScript
Math.floor(Date.now() / 1000)
Python
int(time.time())
PHP
time()
Java
Instant.now().getEpochSecond()
Go
time.Now().Unix()
MySQL
UNIX_TIMESTAMP()
PostgreSQL
EXTRACT(EPOCH FROM now())::bigint
Bash
date +%s

How to use Unix Timestamp Converter

  1. Paste the timestamp number. The unit is detected automatically, or you can choose one yourself.

  2. Read the date in WIB, WITA, WIT, UTC, ISO 8601 and the browser time zone, plus a relative description.

  3. For the other direction, choose a date, time and zone, then copy the timestamp in seconds or milliseconds.

What is a Unix timestamp?

A Unix timestamp measures time as a single number: the seconds that have passed since the epoch, 1 January 1970 00:00:00 UTC, without counting leap seconds. Because it carries no time zone, the same number points to the same moment everywhere in the world; the zone only affects how it is displayed. Example: 1700000000 is 14 November 2023 at 22:13:20 UTC or 15 November 2023 at 05:13:20 WIB.

Different systems use different units: seconds (Unix, PHP, Python time.time), milliseconds (JavaScript Date.now, Java), microseconds, or nanoseconds (Go, some databases). This tool guesses the unit from the length of the number, and you can choose it yourself if the guess is wrong.

Limits and common pitfalls

Automatic detection assumes dates after the year 1973; a millisecond timestamp earlier than that looks like seconds, so choose the unit manually. 32-bit systems store seconds in a signed integer, so they run out on 19 January 2038 (the Year 2038 problem); 64-bit systems are safe for billions of years. The WIB, WITA and WIT zones in this tool use fixed offsets of UTC+7, +8 and +9 because Indonesia does not observe daylight saving time.

Questions about Unix Timestamp Converter

How do I convert a timestamp to a date?

Paste the timestamp into this tool. The result is the date in WIB, WITA, WIT, UTC and ISO 8601. In JavaScript, new Date(timestampSeconds * 1000) does the same thing.

What is the difference between a seconds and a milliseconds timestamp?

Milliseconds are seconds times 1000. A current seconds timestamp has 10 digits (for example 1767200400) and a milliseconds timestamp has 13 (for example 1767200400000).

What is the timestamp for 1 January 2026 at 00:00 WIB?

1767200400 seconds, which is 31 December 2025 at 17:00 UTC. Choose the WIB zone in the Date → timestamp direction to calculate other dates.

Why does my timestamp give the year 1970?

Usually because a millisecond number is being read as seconds or the other way around, or the value is 0. Try changing the unit.

Is my data sent to a server?

No. All conversion runs in your browser.

Need more than tools?

We build websites, apps, and custom systems for your business.

These tools are only a small part of what Tipamedia can build. Tell us what you need and we will help you work out the next step.