Timestamp Converter
FreeConvert Unix timestamps to human-readable dates and vice versa. Shows multiple formats instantly.
Unix Timestamp → Human Date
Date String → Unix Timestamp
What is a Unix Timestamp?
A Unix timestamp is the number of seconds elapsed since the Unix epoch: January 1, 1970, 00:00:00 UTC. It is a universal, timezone-independent way to represent a specific moment in time. Timestamps are used extensively in databases, APIs, log files, and programming languages.
Seconds vs Milliseconds
Seconds (10 digits)
Used by: Unix/Linux, Python (time.time()), most databases. Example: 1704067200
Milliseconds (13 digits)
Used by: JavaScript (Date.now()), Java (System.currentTimeMillis()), many modern APIs. Example: 1704067200000
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. It is a single integer that uniquely identifies any moment in time, independent of timezone.
How do I know if my timestamp is in seconds or milliseconds?
If the timestamp is 10 digits (e.g., 1704067200), it is in seconds. If it is 13 digits (e.g., 1704067200000), it is in milliseconds. JavaScript uses milliseconds by default, while Unix/Linux commands and most databases use seconds. This tool auto-detects the format.
How do I get the current Unix timestamp?
The live ticker at the top of this tool shows the current Unix timestamp in seconds, updated every second. In JavaScript: Math.floor(Date.now() / 1000). In Linux/macOS: date +%s.
What is the maximum Unix timestamp?
The Year 2038 problem occurs because 32-bit systems store Unix timestamps as a signed 32-bit integer, which overflows at 2,147,483,647 (January 19, 2038). Modern 64-bit systems can store timestamps far beyond the year 292 billion.
What date formats can I convert from?
This tool accepts ISO 8601 format (2024-01-15T10:30:00Z), RFC 2822 format (Mon, 15 Jan 2024 10:30:00 +0000), and many human-readable formats. When in doubt, use ISO 8601 for reliability.