Unix timestamp · เขตเวลา · คำนวณวันที่

ตัวแปลงเวลา

ป้อน Unix timestamp หรือวันที่เวลาเพื่อดูเวลา Beijing, UTC, เขตเวลาที่เลือก, ISO, RFC และมิลลิวินาที พร้อมแปลงหลายรายการ คำนวณส่วนต่างเวลา และบวกหรือลบวันที่ได้

ภาพตัวอย่างการแปลงเขตเวลาโลก

เวลา Unix ปัจจุบัน

1785247696
กำลังทำงาน
ตัวเลือกด่วน

แปลง timestamp เป็นเวลาที่อ่านได้

วินาที

แปลงวันที่และเวลาเป็น timestamp

เปรียบเทียบเวลาเดียวกันในหลายเขตเวลา

1s ที่ผ่านมา

แปลง timestamp และวันที่แบบหลายรายการ

รองรับ Unix timestamp, ISO string และ yyyy-mm-dd hh:mm:ss ในเขตเวลาที่เลือก

ต้นทางเวลาที่อ่านได้Unix วินาที
17040672002024-01-01 07:00:00 UTC+07:001704067200
17040672000002024-01-01 07:00:00 UTC+07:001704067200
2026-07-28 18:30:002026-07-28 18:30:00 UTC+07:001785238200
2026-07-28T10:30:00Z2026-07-28 17:30:00 UTC+07:001785234600

ส่วนต่างเวลาและการคำนวณวันที่

ระยะเวลา0d 1h 0m 0s

เพิ่มหรือลดเวลา

เวลาที่คำนวณแล้ว2026-07-29 21:08:16 UTC+07:00

01

งานแปลงเวลาที่ใช้บ่อยในที่เดียว

ไม่ต้องสลับระหว่าง timestamp, UTC, ตารางเขตเวลา และเครื่องคำนวณวันที่

Seconds and milliseconds

10, 13, 16, and 19 digit Unix values are parsed as the common timestamp units.

UTC and Beijing together

Two common baselines for APIs, logs, and China-facing operations appear in one result panel.

Batch conversion

Paste multiple timestamps, ISO strings, or date values and copy a CSV result.

Time difference

Calculate days, hours, minutes, and seconds between two instants for expiry, latency, and billing checks.

Date arithmetic

Add days, hours, and minutes to any base time for deadlines, schedules, and token expiry windows.

Runs in the browser

Conversion happens in the current browser; logs, API values, and business timestamps do not need to be uploaded.

02

Convert in three steps

01

Enter a timestamp

Paste Unix seconds, milliseconds, microseconds, or nanoseconds. Common lengths are detected automatically.

02

Choose a time zone

Convert the same instant across Beijing, UTC, New York, London, Tokyo, and other common zones.

03

Copy the result

Copy Unix seconds, milliseconds, ISO, RFC, or CSV batch output directly.

03

ตัวอย่าง timestamp สำหรับภาษาโปรแกรม

Use the converted values to check API payloads, database rows, scripts, and logs.

สภาพแวดล้อมtimestamp ปัจจุบันtimestamp เป็นวันที่
JavaScriptMath.floor(Date.now() / 1000)new Date(1704067200 * 1000)
Pythonint(time.time())datetime.fromtimestamp(1704067200, timezone.utc)
PHPtime()date("c", 1704067200)
MySQLUNIX_TIMESTAMP(NOW())FROM_UNIXTIME(1704067200)
PostgreSQLEXTRACT(EPOCH FROM NOW())to_timestamp(1704067200)
Shelldate +%sdate -r 1704067200

FAQ

FAQ การแปลงเวลา

Which time zone does a Unix timestamp use?

A Unix timestamp is the number of seconds since 1970-01-01 00:00:00 UTC. It does not carry a time zone; zones only change the displayed calendar text.

What is the difference between 10 and 13 digit timestamps?

10 digits usually means seconds, while 13 digits usually means milliseconds. This tool also handles common 16 digit microseconds and 19 digit nanoseconds.

Is Beijing time UTC+8?

Yes. Beijing time uses the Asia/Shanghai time zone. It currently has no daylight saving time and is normally UTC+08:00.

Is batch conversion uploaded?

No. Values are parsed and formatted in the current browser session.

Why does the same date create different timestamps in different zones?

A wall-clock input like 2026-07-28 09:00 refers to different real instants in different time zones, so the Unix timestamp changes.