Util Tools logo Util Tools
開発者ツール

Timestamp Converter

Convert Unix timestamps to human-readable dates and back.

  • 完全無料
  • 登録不要
  • ブラウザ上で安全に動作

Timestamp → Date

Date → Timestamp

Current Time

Unix (seconds)
-
Unix (milliseconds)
-
UTC
-
Local
-

Common Timestamp Reference

TimestampMeaning
0 January 1, 1970 00:00:00 UTC - the Unix epoch
1000000000 September 9, 2001 01:46:40 UTC
1500000000 July 14, 2017 02:40:00 UTC
2000000000 May 18, 2033 03:33:20 UTC
2147483647 January 19, 2038 - the 32-bit signed integer limit (Y2038)
ガイド・解説

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, the "Unix epoch". It is a simple, timezone-independent way to represent a moment in time as a single integer, which is why it is used throughout programming, databases, and APIs. This tool converts a timestamp to readable formats and back.

Seconds vs. milliseconds

There are two common scales. Classic Unix timestamps count seconds (a 10-digit number around now), while JavaScript and many APIs use milliseconds (a 13-digit number). Mixing them up is a frequent bug that puts a date thousands of years off. This converter auto-detects which scale you pasted based on its length, so you do not have to guess.

Why a timestamp can show the wrong time

A timestamp represents an absolute instant in UTC; the local time it displays depends on the timezone used to format it. If a date looks off by several hours, the usual cause is a timezone mismatch between where the timestamp was created and where it is being displayed. The tool shows local time, UTC, ISO 8601, and RFC 2822 side by side so the difference is clear.

Getting the current timestamp in code

  • JavaScript: Date.now() (milliseconds) or Math.floor(Date.now()/1000) (seconds)
  • Python: int(time.time())
  • PHP: time()
  • SQL: UNIX_TIMESTAMP() (MySQL)

最終更新日: 2026年9月

Frequently Asked Questions

このツールは無料で安全に使えますか?
はい、完全無料でご利用いただけます。ブラウザ内でローカル処理されるため、機密情報も安全です。