Modes at a glance
The Unix Timestamp Converter has three modes:
Timestamp → Date: paste a Unix timestamp (seconds or ms), get ISO 8601, UTC string, local string, date components, week number, and relative time.
Date → Timestamp: paste an ISO 8601 string or date-time string, get the Unix timestamp in seconds and milliseconds.
Current Time: shows the live Unix timestamp (updating in real time) plus all formatted representations for right now.
Auto-detecting seconds vs milliseconds
The converter uses this rule: if the numeric value is below 10,000,000,000 (10^10), treat it as seconds. Above that, treat it as milliseconds.
| Value | Interpretation | Date |
|---|---|---|
1735689600 | Seconds | 1 Jan 2025 00:00:00 UTC |
1735689600000 | Milliseconds | 1 Jan 2025 00:00:00 UTC |
0 | Seconds | 1 Jan 1970 (Unix epoch) |
If the auto-detection is wrong (e.g. you have a seconds timestamp > 10^10 in the far future), you can pre-divide or pre-multiply manually.
UTC offsets
The UTC Offset dropdown covers every half-hour step from UTC−12:00 to UTC+14:00. Selecting UTC+05:30 for IST shifts the “Local string” display by 5.5 hours ahead of UTC.
Note: UTC offset is not the same as your browser’s local timezone. The offset is applied manually (UTC timestamp + offset hours → local display), so daylight saving is not automatically handled. Use the Timezone Converter for DST-aware conversions.
Output formats
| Output | Example |
|---|---|
| Unix seconds | 1735689600 |
| Unix milliseconds | 1735689600000 |
| ISO 8601 | 2025-01-01T00:00:00.000Z |
| UTC string | Wed, 01 Jan 2025 00:00:00 GMT |
| Short date | 1 Jan 2025 |
| Long date | Wednesday, 1 January 2025 at 00:00:00 UTC |
| Relative time | 6 months ago |
Common use cases
Debugging API responses: JSON payloads often contain created_at: 1735689600. Paste it into Timestamp → Date mode to verify it’s the expected date.
Generating test timestamps: switch to Date → Timestamp mode, enter a reference date, copy the Unix timestamp to use in test fixtures.
Log analysis: server logs often use Unix seconds. Paste a range of timestamps to confirm they fall within the expected window.
Scheduling checks: verify that a scheduled task (cron job, delayed queue message) fires at the correct moment by checking its trigger timestamp.