Convert Unix timestamps to dates and dates to Unix timestamps. Supports milliseconds and various date formats.
Current Time
Unix Timestamp to Date
Enter Unix timestamp in seconds or milliseconds
Local Time:
UTC Time:
ISO 8601:
Relative:
Date to Unix Timestamp
Select date and time in your local timezone
Unix Timestamp (seconds):
Unix Timestamp (milliseconds):
ISO 8601:
Unix Timestamp Information
What is Unix Time?
Unix time (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It's a standard way to track time in computing systems.
Common Uses
- Database timestamps
- Log file entries
- API responses
- Session management
- File modification times
Important Dates
- Epoch: 0 (Jan 1, 1970)
- Y2K38: 2147483647
- Max 32-bit: 2038-01-19
Command Line Examples
Linux / macOS
# Get current Unix timestamp
date +%s
# Get current timestamp in milliseconds
date +%s%3N
# Convert Unix timestamp to date
date -d @1699564800
# Convert date to Unix timestamp
date -d "2023-11-10 00:00:00" +%sWindows PowerShell
# Get current Unix timestamp
[int][double]::Parse((Get-Date -UFormat %s))
# Convert Unix timestamp to date
[DateTimeOffset]::FromUnixTimeSeconds(1699564800).DateTime
# Convert date to Unix timestamp
[DateTimeOffset]::Parse("2023-11-10").ToUnixTimeSeconds()