ToolsBox
Back to Home

Unix Timestamp Converter

Convert Unix timestamps to local time and vice versa, supports millisecond timestamps

Unix Timestamp (Seconds)
Local Time

What is a Unix Timestamp?

Unix timestamp is the number of seconds or milliseconds elapsed since January 1, 1970, 00:00:00 UTC. It is a widely used time representation in computer systems.

A 10-digit number represents a second timestamp (e.g., 1735689600), while a 13-digit number represents a millisecond timestamp (e.g., 1735689600000).

How to Use the Timestamp Converter?

Enter a timestamp or datetime in the input box, and the system will automatically recognize and convert it:

  • Enter a number (e.g., 1735689600) → Automatically recognized as a second timestamp and converted to date
  • Enter a 13-digit number (e.g., 1735689600000) → Automatically recognized as a millisecond timestamp and converted to date
  • Enter a datetime (e.g., 2026-02-22 15:30:45) → Automatically converted to timestamp

Timezone Explanation

Different regions use different local times. Timezone selection ensures the conversion result matches the actual time in the target timezone. Common timezones include:

  • UTC - Coordinated Universal Time, the reference timezone
  • Asia/Shanghai - Beijing Time, UTC+8
  • America/New_York - New York Time, UTC-5

Common Timestamp Reference

Date Second Timestamp Millisecond Timestamp
1970-01-01 00:00:00 0 0
2000-01-01 00:00:00 946684800 946684800000
2020-01-01 00:00:00 1577836800 1577836800000
2025-01-01 00:00:00 1735689600 1735689600000
2030-01-01 00:00:00 1893456000 1893456000000

Related Tools