Timestamp Converter
Convert between Unix timestamps and human-readable dates. Supports multiple timezones and formats.
Current Unix Timestamp
0
Timestamp to Date
Date to Timestamp
Quick Timestamps
What is Unix Timestamp?
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's a simple and universal way to represent time that works across all programming languages and systems.
Seconds vs Milliseconds:
Seconds (10 digits)
1704067200
Used by: Unix, PHP, Python, Ruby
Milliseconds (13 digits)
1704067200000
Used by: JavaScript, Java, APIs
Notable Timestamps:
0= January 1, 1970 (Unix Epoch)1000000000= September 9, 20012147483647= January 19, 2038 (32-bit limit)
Frequently Asked Questions
32-bit systems store timestamps as a signed 32-bit integer, which maxes out at 2,147,483,647 (January 19, 2038). After this, the value overflows and wraps to negative numbers. Modern 64-bit systems don't have this issue.
Unix timestamps are always in UTC. The displayed time depends on your selected timezone. Make sure you're using the correct timezone when converting, especially for local times that observe daylight saving.
- JavaScript:
Math.floor(Date.now() / 1000) - Python:
import time; time.time() - Java:
System.currentTimeMillis() / 1000 - PHP:
time()