时间戳转换

Unix 时间戳转换

🔒 100% client-side — your data never leaves this page
Timestamp → Date
Date String → Timestamp
Current Timestamp
Seconds
1771819237
Milliseconds
1771819237218
ISO 8601
2026-02-23T04:00:37.218Z

About this tool

将 Unix 时间戳(秒或毫秒)转换为本地时间、UTC 和 ISO 8601 格式,同时实时显示当前时间戳。

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp is the number of seconds elapsed since January 1, 1970 (UTC), also known as the Unix epoch. It is a universal way to represent a point in time independent of timezone.

Should I use seconds or milliseconds?

Unix timestamps are traditionally in seconds. JavaScript uses milliseconds (Date.now()). A 13-digit number is milliseconds; a 10-digit number is seconds.

Does this tool accept both seconds and milliseconds?

Yes. It auto-detects common Unix timestamp lengths and also accepts readable date strings for quick conversion.