What is a Unix timestamp?
A Unix timestamp counts time from January 1, 1970 at 00:00:00 UTC. It is commonly used by APIs, databases, logs and programming languages because it is compact and timezone-neutral.
Unix seconds vs milliseconds
Unix timestamps are often stored in seconds, while JavaScript dates use milliseconds. This converter detects likely milliseconds for large timestamp values and labels the detected unit clearly.
Timestamp to date
Timestamp to Date converts a Unix value into Browser Local Time, UTC, ISO 8601 and a relative phrase. Local time depends on the timezone configured in your browser or operating system.
Date to timestamp
Date to Timestamp converts an entered date-time into Unix seconds, Unix milliseconds and ISO 8601. You can interpret the input as Browser Local Time or UTC.
Unix timestamp in JavaScript
JavaScript stores time internally as milliseconds since the Unix epoch. Use Date.now() for milliseconds and divide by 1000 for seconds.
Unix timestamp in PHP
PHP's time() returns current Unix seconds. Use DateTimeImmutable when you need timezone-aware formatting.
Unix timestamp in Python
Python can create timezone-aware timestamps with datetime.now(timezone.utc).timestamp(), which avoids accidental local-time assumptions.
FAQ
Does this converter upload my timestamp?
No. Conversion happens entirely in your browser.
Can it convert arbitrary named timezones?
No. It shows Browser Local Time and UTC clearly, but does not claim IANA timezone conversion.