Epoch to Date Converter

Epoch time and Unix timestamp mean the same thing: seconds since January 1, 1970 UTC. Paste yours below to see it in every common date format.

Example: 1706745600

Unix (seconds)1706745600
Unix (milliseconds)1706745600000
ISO 8601 (UTC)2024-02-01T00:00:00Z
RFC 2822Thu, 01 Feb 2024 00:00:00 GMT
Human ReadableFebruary 1, 2024 12:00:00 AM UTC

Common Pitfall

Note: 10-digit epoch = seconds (current era). 13-digit = milliseconds. 16-digit = microseconds. 19-digit = nanoseconds. Get the unit wrong and your dates will be off by 3-9 orders of magnitude.

Code Examples

Python

from datetime import datetime, timezone
datetime.fromtimestamp(1706745600, tz=timezone.utc)

JavaScript

new Date(1706745600 * 1000)

PHP

date('Y-m-d H:i:s', 1706745600);

Bash (Linux)

date -d @1706745600

Bash (macOS)

date -r 1706745600

Related Conversions

Need the full converter? Open the Timestamp Converter →