Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa. Support for seconds and milliseconds.
Current Unix Timestamp
1768267430
(1768267430872 ms)
Auto-detects seconds (10 digits) or milliseconds (13 digits)
Enter a timestamp or date to see conversions
What is a Unix Timestamp?
A Unix timestamp (also known as Epoch time or POSIX time) is a system for describing points in time. It represents the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC (the Unix Epoch).
Unix timestamps are widely used in computing because they provide a simple, timezone-independent way to represent dates and times. They are commonly found in databases, APIs, log files, and programming languages.
How to Use This Converter
- Convert from timestamp: Enter a Unix timestamp in seconds or milliseconds. The converter automatically detects the format.
- Convert from date: Select a date and time using the date picker. The Unix timestamp is calculated automatically.
- Get current time: Click the "Get Current Timestamp" button to populate both fields with the current date/time.
- Copy results: Click any copy button to copy that specific format to your clipboard.
Timestamp Formats Explained
- Unix (seconds) - Standard Unix timestamp with 10-digit precision (e.g., 1704067200)
- Unix (milliseconds) - Timestamp with millisecond precision, 13 digits (e.g., 1704067200000). Commonly used in JavaScript.
- ISO 8601 - International standard date format (e.g., 2024-01-01T00:00:00.000Z). Widely used in APIs and data interchange.
- UTC - Coordinated Universal Time, the primary time standard (e.g., Mon, 01 Jan 2024 00:00:00 GMT)
- Local Time - The date and time in your browser's local timezone
- Relative Time - Human-readable time difference (e.g., "2 hours ago" or "in 3 days")
Common Use Cases
- Debugging API responses that contain Unix timestamps
- Converting log file timestamps to readable dates
- Generating timestamps for database queries
- Calculating time differences in code
- Working with JWT token expiration times
Features
- Bidirectional conversion: timestamp to date and date to timestamp
- Auto-detection of seconds vs milliseconds format
- Real-time current timestamp display
- Multiple output formats with one-click copy
- Relative time calculation
- Works entirely in your browser - no data is sent to any server