DevLearningTools

TOOLS · TIMESTAMP

Unix timestamp to date, and back.

Paste in a Unix timestamp (seconds or milliseconds) and get the local time, UTC, and ISO 8601 format — or grab the current timestamp with one click.

What a Unix Timestamp Is

A Unix timestamp is a single number counting the seconds (or in some systems, milliseconds) that have passed since midnight UTC on January 1, 1970 — commonly called "the epoch." Instead of storing a date as a string that needs parsing and can vary by locale and format, a lot of systems store time as this one plain number, which is fast to compare, sort, and do math on.

The tradeoff is that a raw timestamp like 1735689600 is meaningless to a human at a glance — you need to convert it to actually know what date and time it represents.

How This Tool Works

Paste in a timestamp and it's converted to your local time, UTC, and ISO 8601 format simultaneously, so you can see all three at once. Going the other direction, you can grab the current timestamp with one click. Everything happens in your browser — nothing is sent anywhere.

Common Uses

  • Making sense of a timestamp seen in server logs, database rows, or an API response.
  • Debugging timezone issues by comparing local time against UTC for the same moment.
  • Grabbing the current timestamp quickly for a test payload or API request.

Frequently Asked Questions

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

It comes down to digit count for any recent date — a seconds-based timestamp for a date in the 2020s is 10 digits long, while a milliseconds-based one (common in JavaScript's Date.now()) is 13 digits. This tool detects and handles both.

Does the converted time account for my timezone?

Yes — the local time shown is based on your browser's detected timezone, alongside the UTC and ISO 8601 versions so you can compare all three directly.

Can a Unix timestamp represent a date before 1970?

Yes, as a negative number — timestamps aren't limited to positive values, though negative timestamps are rare in practice since few systems need to represent dates before the epoch.