Timestamp Converter

Bidirectional conversion between Unix timestamps and human-readable dates, with multi-timezone display

Current timestamp
0
1/1/1970, 8:00:00 AM

Timestamp → Date

Auto-detects 10-digit (seconds) or 13-digit (milliseconds)

Date → Timestamp

Usage guide

  • Timestamp input: auto-detects 10-digit (seconds) or 13-digit (milliseconds) format
  • Date-time input: accepts many formats including "2023-12-31 08:00:00" or ISO 8601
  • Use current time: quickly fills in the current Unix timestamp
  • Output includes ISO 8601, RFC 2822, Unix timestamps, and multi-timezone times

What the timestamp converter is for

The timestamp converter translates between Unix timestamps (seconds or milliseconds since 1970-01-01 UTC) and human-readable date-time strings, in both directions. It auto-detects whether the input is a 10-digit (seconds) or 13-digit (milliseconds) timestamp and displays the result in ISO 8601, RFC 2822, and several major timezones simultaneously.

Common uses include converting timestamps found in server logs, database records, or API responses to readable dates, creating Unix timestamps from a known date-time for use in queries or scripts, and comparing times across timezones when coordinating across regions.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp is the number of seconds (or milliseconds) elapsed since January 1, 1970, 00:00:00 UTC. It is timezone-independent — the same number always refers to the same instant in time regardless of where you are.

How do I tell if a timestamp is in seconds or milliseconds?

A 10-digit number is almost certainly seconds (e.g. 1703980800); a 13-digit number is almost certainly milliseconds (e.g. 1703980800000). The tool auto-detects this based on digit count.

Why does the converted time differ by hours from what I expect?

Unix timestamps are always UTC. If you see an unexpected offset, check which timezone you are displaying. The tool shows multiple timezones including UTC, Shanghai, New York, London, and your local timezone.

What date formats can I enter for the Date → Timestamp direction?

The tool accepts many formats including '2023-12-31 08:00:00', '2023-12-31T08:00:00', ISO 8601, and RFC 2822. If no timezone is specified in the input, it is treated as local time.