Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa.
Current Time
Unix (seconds)
1781425608Unix (milliseconds)
1781425608734ISO 8601
2026-06-14T08:26:48.734ZTimestamp → Human-Readable Date
Date → Unix Timestamp
What is a Unix Timestamp?
A Unix timestamp (also called Epoch time, POSIX time, or Unix time) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC (the Unix Epoch). It provides a simple, timezone-independent way to represent points in time. Most programming languages and databases support Unix timestamps natively. Millisecond timestamps (13 digits) are common in JavaScript and modern APIs.
Common Use Cases
Database Date Storage
Store created_at and updated_at fields as Unix timestamps for efficient sorting, indexing, and timezone-free comparisons.
API Responses
REST APIs often return timestamps as Unix integers. Convert them to human-readable dates for display.
Log File Analysis
Parse and convert log timestamps to investigate incidents and measure durations between events.
JWT Token Expiry
JWT tokens use Unix timestamps for iat (issued at), exp (expiry), and nbf (not before) claims.
Cache Headers
HTTP Cache-Control and Expires headers use Unix timestamps or date strings to control caching.
Scheduled Jobs
Cron jobs and scheduled tasks use Unix timestamps to determine when to run.
Quick Reference
| Duration | Seconds |
|---|---|
| 1 minute | 60 |
| 1 hour | 3,600 |
| 1 day | 86,400 |
| 1 week | 604,800 |
| 1 month (30 days) | 2,592,000 |
| 1 year (365 days) | 31,536,000 |