Unix timestamp · time zones · date math

Time Converter

Enter a Unix timestamp or date time to see Beijing time, UTC, the selected time zone, ISO, RFC, and millisecond output. You can also batch convert, compare durations, and add or subtract dates.

World time zone conversion visual

Live Unix time

1785247696
Running
Quick presets

Timestamp to readable time

Seconds

Date and time to timestamp

Compare the same instant across time zones

1s ago

Batch convert timestamps and dates

Supports Unix timestamps, ISO strings, and yyyy-mm-dd hh:mm:ss in the selected time zone.

SourceReadable timeUnix seconds
17040672002024-01-01 00:00:00 UTC+00:001704067200
17040672000002024-01-01 00:00:00 UTC+00:001704067200
2026-07-28 18:30:002026-07-28 18:30:00 UTC+00:001785263400
2026-07-28T10:30:00Z2026-07-28 10:30:00 UTC+00:001785234600

Time difference and date arithmetic

Duration0d 1h 0m 0s

Add or subtract time

Calculated time2026-07-29 14:08:16 UTC+00:00

01

One entry point for common time conversion work

No switching between a timestamp page, UTC formatter, time zone table, and date calculator.

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 snippets for common languages

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

EnvironmentCurrent timestampTimestamp to date
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

Time conversion 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.