Unix Timestamp Examples
Explore common Unix timestamp conversions with detailed explanations. These examples will help you understand epoch time and practice with real-world timestamps.
Historical Timestamps
0=January 1, 1970, 00:00:00 UTC
The Unix epoch - the beginning of Unix time
86400=January 2, 1970, 00:00:00 UTC
One day after epoch (86,400 seconds = 1 day)
946684800=January 1, 2000, 00:00:00 UTC
Y2K - The millennium celebration
1000000000=September 9, 2001, 01:46:40 UTC
The billionth second since epoch
1234567890=February 13, 2009, 23:31:30 UTC
A memorable timestamp often used in examples
1577836800=January 1, 2020, 00:00:00 UTC
Start of the 2020s decade
1609459200=January 1, 2021, 00:00:00 UTC
New Year 2021
1640995200=January 1, 2022, 00:00:00 UTC
New Year 2022
1672531200=January 1, 2023, 00:00:00 UTC
New Year 2023
1704067200=January 1, 2024, 00:00:00 UTC
New Year 2024
1735689600=January 1, 2025, 00:00:00 UTC
New Year 2025
2147483647=January 19, 2038, 03:14:07 UTC
Maximum 32-bit signed integer - the Year 2038 problem
Timestamp Formats
Unix timestamps can be represented in different formats depending on the precision needed and the system being used.
Seconds
1735344072
10 digits
Standard Unix timestamp format
Most common in Unix systems, databases
Milliseconds
1735344072000
13 digits
JavaScript Date.now() format
Web development, JavaScript, APIs
Microseconds
1735344072000000
16 digits
High-precision timestamp
Scientific computing, high-frequency trading
Timezone Examples
The same Unix timestamp represents the same moment in time worldwide, but displays differently in various timezones.
Timestamp: 1735344072
UTC & Americas:
- UTC: 2025-01-27 16:41:12
- EST: 2025-01-27 11:41:12
- CST: 2025-01-27 10:41:12
- PST: 2025-01-27 08:41:12
Europe & Asia:
- London: 2025-01-27 16:41:12
- Paris: 2025-01-27 17:41:12
- Tokyo: 2025-01-28 01:41:12
- Shanghai: 2025-01-28 00:41:12
Programming Examples
JavaScript
// Get current timestamp Date.now() // milliseconds Math.floor(Date.now() / 1000) // seconds // Convert timestamp to date new Date(1735344072000) // Convert date to timestamp new Date('2025-01-27').getTime()
Python
import time from datetime import datetime # Get current timestamp time.time() # Convert timestamp to date datetime.fromtimestamp(1735344072) # Convert date to timestamp datetime(2025, 1, 27).timestamp()
Practice Tips
Learning Strategy
- • Start with memorable timestamps (like 1000000000)
- • Practice with current time using our live clock
- • Try converting dates you know (birthdays, holidays)
- • Use our converter to check your manual calculations
Common Patterns
- • 86,400 seconds = 1 day
- • 604,800 seconds = 1 week
- • ~31,536,000 seconds = 1 year
- • 10-digit = seconds, 13-digit = milliseconds