./prontouso.com
ALAT DEVELOPER

Pengonversi Waktu Timestamp Unix

Konversi timestamp Unix ke tanggal dan waktu lokal atau UTC yang mudah dibaca, atau masukkan tanggal untuk mendapatkan nilai epoch dalam hitungan detik dan milidetik.

Status alatBerjalan di browser Anda
Pratinjau

Timestamp to date

Unix seconds
1785157200
Unix milliseconds
1785157200000
ISO 8601
2026-07-27T13:00:00.000Z
UTC
Mon, 27 Jul 2026 13:00:00 GMT
Local time

The unit is guessed from the number of digits; change it if needed.

Date to timestamp


Current timestamp

Unix seconds
Unix milliseconds

Cara kerja

  1. Masukkan data Anda

    Isi nilai yang diperlukan, tempel teks Anda, atau unggah file yang ingin diproses.

  2. Lihat hasil seketika

    Sebagian besar alat diperbarui secara langsung saat Anda mengetik; beberapa menggunakan satu tombol tindakan.

  3. Gunakan hasil Anda

    Salin, unduh, atau bagikan hasil yang dihasilkan — Anda selalu memiliki kendali penuh atas data Anda.

Privasi dan pemrosesan dataBerjalan secara lokal di browser Anda. Alat ini tidak mengunggah data Anda.

Apa itu Pengonversi Waktu Timestamp Unix?

Convert a Unix timestamp in seconds or milliseconds into ISO 8601, UTC, and local time, or convert a date back into a timestamp.

PAHAMI CARA KERJA ALAT

How to convert Unix timestamps

What a Unix timestamp is

A Unix timestamp counts the seconds (or milliseconds) that have passed since January 1, 1970, 00:00:00 UTC. It's the format most APIs, logs, and databases use to store a point in time without depending on any particular timezone or calendar format.

Seconds or milliseconds?

Today's timestamps in seconds have 10 digits, and the same moment in milliseconds has 13. This tool guesses the unit from how many digits you paste, and switches the toggle automatically; change it yourself if a value is ambiguous.

How to use it

  • Paste a timestamp on the left to see it as ISO 8601, UTC, and your local time, or choose "Use current time" to fill in now.
  • Pick a date and time on the right to convert it back into Unix seconds and milliseconds.
  • The current timestamp panel updates every second, for a quick reference or to copy right now's value.

Timestamp example

Seconds to milliseconds
milliseconds = unixSeconds * 1000
Milliseconds to Unix seconds
unixSeconds = floor(milliseconds / 1000)

1704067200 seconds

This converts to 1704067200000 milliseconds and represents 2024-01-01T00:00:00.000Z. The local display depends on the browser timezone.

1704067200 * 1000 = 1704067200000

Timezone notes

A Unix timestamp represents one instant in UTC. The local-time display depends on your device timezone and locale settings.

Pertanyaan yang Sering Diajukan (FAQ)

Why does my timestamp show the wrong date?

This usually means the unit is set incorrectly: a value meant to be milliseconds, read as seconds, lands about 1,000 times further in the future than intended, or the reverse. Toggle the unit and check again.

What does the "Local time" field show?

It shows the date and time in your device's own timezone and locale format, computed from the same underlying timestamp as the UTC and ISO 8601 fields.

Can I convert a negative timestamp?

Yes. A negative value represents a date before January 1, 1970, and is handled the same way as a positive one.

How does daylight saving time affect results?

The timestamp itself does not change, but the local-time display follows your device's timezone rules. Around daylight saving transitions, local times can skip forward or repeat.