Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa

schedule Current Timestamp
1784876260
access_time 时间戳转日期时间
calendar_today 日期时间转时间戳

What is a Unix Timestamp?

A Unix timestamp (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. It provides a universal, timezone-independent way to represent a specific point in time as a single integer value.

Unix timestamps are widely used in programming, databases, APIs, and system logs because they are compact, easy to compare, and unambiguous across different locales and timezone configurations.

How to Convert a Timestamp

  1. Enter the Unix timestamp (in seconds or milliseconds) into the input field above.
  2. Select your desired timezone and output unit, then click the "Convert" button.
  3. The human-readable date and time will appear in the result field, ready to copy.

Common Timestamp Reference

Date Unix (seconds) Unix (milliseconds)
1970-01-01 00:00:00 0 0
2000-01-01 00:00:00 946684800 946684800000
2024-01-01 00:00:00 1704067200 1704067200000
2026-07-24 00:00:00 1753315200 1753315200000

Frequently Asked Questions

What is epoch time? expand_more
Epoch time (or Unix epoch) refers to the point in time represented by the number 0 in Unix timestamps — specifically, January 1, 1970, 00:00:00 UTC. All Unix timestamps are calculated as the number of seconds (or milliseconds) elapsed since this reference point.
How many digits is a Unix timestamp? expand_more
A Unix timestamp in seconds is currently 10 digits long (e.g., 1784876260) and will remain so until November 2286. In milliseconds, it is 13 digits long (e.g., 1784876260000). If you see a 10-digit number, it's in seconds; a 13-digit number is in milliseconds.
Is Unix timestamp always UTC? expand_more
Yes. By definition, a Unix timestamp represents the number of seconds since the epoch in UTC. It is timezone-independent — the same moment in time always maps to the same Unix timestamp regardless of your local timezone. The timezone only matters when you convert the timestamp to a human-readable date string.
How do I get current timestamp in JavaScript/Python? expand_more
JavaScript: Math.floor(Date.now() / 1000) for seconds, or Date.now() for milliseconds.

Python: import time; int(time.time()) for seconds, or int(time.time() * 1000) for milliseconds.

Related Tools