DevGizmo

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates, or convert any date string back to a Unix timestamp.

Unix Timestamp → Human-Readable

Human-Readable → Unix Timestamp

About the Timestamp Converter

A Unix timestamp (also called Epoch time or POSIX time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970. It is the standard way to represent points in time in most programming languages, databases, and APIs because it is timezone-independent, compact, and trivially comparable.

This tool converts in both directions. Enter a Unix timestamp (in seconds or milliseconds) to see the equivalent UTC string, local time, ISO 8601 representation, and a relative description like "3 hours ago". Or enter any date string and get the corresponding Unix timestamps in both seconds and milliseconds.

Seconds vs Milliseconds

The original Unix standard counts in seconds. However many modern systems — including JavaScript's Date.now(), Java's System.currentTimeMillis(), and most REST APIs — use milliseconds. A millisecond timestamp is exactly 1000× the equivalent second timestamp. Use the unit selector to switch between the two.

Supported Date Input Formats

The date-to-timestamp converter accepts any date string that the ECMAScript Date constructor can parse, including ISO 8601 (e.g. 2024-11-14T12:00:00Z), RFC 2822 (e.g. Thu, 14 Nov 2024 12:00:00 GMT), and many locale-specific formats. ISO 8601 with an explicit timezone offset is the most reliable format across all environments.