🕐 Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and back. Supports seconds/ms, timezones, bulk conversion, and a live "Now" clock.

▸ Bulk Convert (one timestamp per line)

How to Use

1

Enter a timestamp or date

Type a Unix timestamp (seconds or milliseconds) in the first field, or pick a date/time. The tool auto-detects seconds vs milliseconds.

2

Select your timezone

Choose UTC, your browser's local timezone, or any named timezone from the dropdown. All output formats update instantly.

3

Copy any format

Click Copy next to any output row — Unix seconds, milliseconds, ISO 8601, localized date, or relative time.

Frequently Asked Questions

What is a Unix timestamp? +
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is the universal standard for representing time in software systems because it has no timezone ambiguity and is easy to do arithmetic on.
What is the difference between seconds and milliseconds? +
Standard Unix timestamps count seconds since epoch (10 digits for modern dates, e.g. 1714694400). JavaScript's Date.now() and many APIs return milliseconds (13 digits, e.g. 1714694400000). This tool auto-detects which you've entered based on the number of digits.
How do I convert a date to a Unix timestamp in JavaScript? +
Use Math.floor(new Date("2024-05-01").getTime() / 1000) for seconds, or Date.now() / 1000 for the current time. The tool does this conversion instantly for any date you enter.
What is the Unix timestamp for the year 2038 problem? +
The Year 2038 problem (Y2K38) affects 32-bit signed integers, which overflow at Unix timestamp 2147483647 (January 19, 2038, 03:14:07 UTC). Modern 64-bit systems are not affected — they can represent dates billions of years in the future.
Can I convert multiple timestamps at once? +
Yes. Use the Bulk Convert section — enter one Unix timestamp per line and click Convert All to get all dates formatted at once.


Tam Rehber: Unix Zaman Damgası Dönüştürücü

Unix zaman damgası (epoch time), 1 Ocak 1970, 00:00:00 UTC'den bu yana geçen saniye sayısıdır. Her programlama dili, veritabanı ve işletim sisteminde zaman temsili için temel standarttır. Doğru dönüştürmek, log analizi, API entegrasyonu ve zamanlanmış görevler için kritiktir.

Saniye ve Milisaniye Farkı

Kod Örnekleri

// JavaScript
const ts = Math.floor(Date.now() / 1000); // saniye
const d  = new Date(ts * 1000);           // Zaman damgasından Date

// Python
import time
ts = int(time.time())

# PHP
$ts = time();
echo date('Y-m-d H:i:s', $ts);

Saat Dilimi Yönetimi

Unix zaman damgaları her zaman UTC'yi temsil eder. Veritabanında UTC'de saklayın, yalnızca gösterim sırasında kullanıcının saat dilimine dönüştürün. Saat dilimi karışıklığını önlemek için ISO 8601 + timezone offset (+03:00) formatını tercih edin.

2038 Yılı Sorunu

32-bit işaretli tam sayılar, 2147483647 değerinde (19 Ocak 2038) taşar. Modern 64-bit sistemler bu sorunu aşmıştır. Eski gömülü sistemlerde int32 olarak saklanan zaman damgaları kontrol edilmelidir.

Cron zamanlaması için Cron Görselleştirici'ye, JSON mock verisi üretmek için Mock JSON Üreteci'ne bakın.

🧰 50+ Tools