Timestamp Converter
Convert between Unix timestamps and human-readable dates instantly.
Current Unix Timestamp
0
Auto-detects seconds vs milliseconds. Values greater than 1 trillion are treated as milliseconds.
How to Use the Timestamp Converter
1. Choose your mode: Click "Timestamp to Date" to convert a Unix timestamp to a readable date, or "Date to Timestamp" for the reverse.
2. Enter your value: Paste a Unix timestamp (in seconds or milliseconds) or type a date string in any common format.
3. View results: The tool instantly shows the conversion in multiple formats including Unix seconds, milliseconds, ISO 8601, human-readable, UTC, and relative time.
4. Copy any result by clicking the Copy button next to it.
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC. It is widely used in programming and databases to represent points in time.
What is the difference between seconds and milliseconds timestamps?
A Unix timestamp in seconds is typically a 10-digit number (e.g., 1700000000), while a millisecond timestamp is 13 digits (e.g., 1700000000000). JavaScript and Java commonly use milliseconds, while Python and PHP use seconds.
What is ISO 8601?
ISO 8601 is an international standard for representing dates and times (e.g., 2024-01-15T12:30:00.000Z). It is the recommended format for data interchange and APIs because it is unambiguous and machine-readable.
How does the relative time display work?
The relative time shows how long ago (or in the future) the given timestamp is compared to the current time, displayed in human-friendly terms like "3 hours ago" or "2 days from now".