Unix timestamp · múi giờ · tính ngày

Công cụ đổi thời gian

Nhập Unix timestamp hoặc ngày giờ để xem giờ Bắc Kinh, UTC, múi giờ đã chọn, ISO, RFC và mili giây. Công cụ cũng hỗ trợ chuyển đổi hàng loạt, tính chênh lệch thời gian và cộng trừ ngày.

Hình minh họa chuyển đổi múi giờ thế giới

Thời gian Unix hiện tại

1785247696
Đang chạy
Mẫu nhanh

Timestamp sang thời gian dễ đọc

Giây

Ngày giờ sang timestamp

So sánh cùng một thời điểm giữa các múi giờ

1s trước

Chuyển đổi hàng loạt timestamp và ngày

Hỗ trợ timestamp Unix, chuỗi ISO và yyyy-mm-dd hh:mm:ss theo múi giờ đã chọn.

NguồnThời gian dễ đọcGiây 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

Chênh lệch thời gian và tính ngày

Khoảng thời gian0d 1h 0m 0s

Cộng hoặc trừ thời gian

Thời gian đã tính2026-07-29 21:08:16 UTC+07:00

01

Các chuyển đổi thời gian phổ biến ở một nơi

Không cần chuyển qua lại giữa timestamp, UTC, bảng múi giờ và máy tính ngày.

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

Ví dụ timestamp cho ngôn ngữ phổ biến

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

Môi trườngTimestamp hiện tạiTimestamp sang ngày
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 chuyển đổi thời gian

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.