Free Timestamp Converter

Unix Timestamp Converter

A Unix timestamp converter translates between an integer count of seconds (or milliseconds) since the Unix epoch (January 1, 1970 UTC) and a human-readable date in any timezone. Paste a timestamp to see it in ISO 8601, RFC 2822, UTC, local time, and relative time, or pick a date to convert it back to seconds and milliseconds.

Current Unix time
Live, updates every second
Seconds
----------
Milliseconds
-------------

Timestamp to Date

Auto-detects seconds, ms, microseconds, or ns.
Enter a Unix timestamp above to see formatted output.

Date to Timestamp

Pick a date and time to see Unix timestamps.

Timestamp format reference

FormatExampleNotes
Unix (seconds)173568960010-digit integer count of seconds since 1970-01-01 UTC.
Unix (milliseconds)173568960000013-digit JavaScript-style timestamp in milliseconds.
ISO 86012025-01-01T00:00:00.000ZInternational standard. The Z suffix indicates UTC.
ISO 8601 with offset2024-12-31T19:00:00-05:00Same instant expressed with a timezone offset.
RFC 2822Wed, 01 Jan 2025 00:00:00 +0000Email and HTTP header style date string.
Local string1/1/2025, 12:00:00 AMBrowser-locale formatted date and time.
UTC stringWed, 01 Jan 2025 00:00:00 GMTtoUTCString() output - always in UTC.
Relativein 2 hoursHuman-friendly distance from now.

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970, also known as the Unix epoch. It is a single integer that represents an exact moment in time, independent of timezones or calendar formats.

Why do timestamps come in seconds vs milliseconds?

Most Unix systems and many programming languages historically used seconds, while JavaScript and many newer APIs use milliseconds for higher precision. A 10-digit timestamp is almost always seconds, while a 13-digit timestamp is almost always milliseconds.

What is epoch time?

Epoch time is another name for Unix time. The Unix epoch is the reference point of January 1, 1970 at 00:00:00 UTC, and epoch time counts the seconds (or milliseconds) since that moment.

How do I convert a Unix timestamp to a date in JavaScript, Python, or SQL?

In JavaScript: new Date(unixSeconds * 1000). In Python: datetime.fromtimestamp(unixSeconds, tz=timezone.utc). In PostgreSQL: to_timestamp(unixSeconds). In MySQL: FROM_UNIXTIME(unixSeconds).

Are Unix timestamps in UTC?

Yes. A Unix timestamp is an absolute count of seconds since the epoch and does not carry timezone information. Timezones only matter when you format the timestamp into a human-readable date.

Related Tools

Powered by NitroClaw - check out our developer toolkit

Learn more about NitroClaw