Unix Timestamp Converter

Convert Unix epoch timestamps to human-readable dates and back, in both seconds and milliseconds.

Frequently Asked Questions

How does the tool know whether my input is seconds or milliseconds?

It checks the magnitude: values greater than 10 billion (10,000,000,000) are treated as milliseconds because valid second-based timestamps will not exceed that until the year 2286. All smaller values are treated as seconds.

What is the Unix epoch?

January 1, 1970, 00:00:00 UTC. All Unix timestamps count forward (or backward for negative values) from this fixed reference point.

Why do JavaScript and Python give different numbers for the 'same' timestamp?

JavaScript's Date.getTime() returns milliseconds; Python's time.time() returns seconds (as a float). Multiply Python's result by 1,000 or divide JavaScript's by 1,000 to compare them.

What is ISO 8601 format?

A standardized date-time string such as 2024-04-30T00:00:00.000Z. The Z suffix means UTC. ISO 8601 is the international standard for machine-readable date-time interchange and is understood by all modern programming languages and databases.

Important Disclaimer: Estimates for informational purposes only.

This calculator provides estimates for informational purposes only. Results are based on assumptions and may not reflect actual outcomes. Consult qualified professionals in relevant fields before making important decisions based on these results.