Last updated
Negative Timestamps (Before 1970)
Input: -86400
Output: 1969-12-31 00:00:00 UTC (one day before the Unix epoch)
Input: -2208988800
Output: 1900-01-01 00:00:00 UTC
The Epoch Converter on TechConverter.me handles all of these cases — second and millisecond precision, any time zone, negative timestamps, and dates far in the future — making it the fastest way to work with Unix timestamps in your daily development workflow.
Examples
Example 1: Converting a Unix Timestamp to a Date
A developer sees this timestamp in a server log: 1741824000
Pasting it into the converter reveals:
Unix timestamp: 1741824000 (seconds)
UTC: Wednesday, March 12, 2026 16:00:00 UTC
Your local: Wednesday, March 12, 2026 11:00:00 AM EST (UTC-5)
ISO 8601: 2026-03-12T16:00:00.000Z
RFC 2822: Wed, 12 Mar 2026 16:00:00 +0000
Relative: 3 days ago
Example 2: Millisecond Timestamps (JavaScript)
JavaScript's Date.now() returns milliseconds. The converter auto-detects 13-digit timestamps:
Input: 1741824000000 (13 digits — milliseconds)
Unix timestamp: 1741824000.000 seconds
UTC: Wednesday, March 12, 2026 16:00:00.000 UTC
Milliseconds: 1741824000000
Common JavaScript timestamp sources:
Date.now() // current time in ms
new Date().getTime() // same as Date.now()
new Date('2026-03-12').getTime() // specific date to ms timestamp
performance.now() // high-resolution time (not epoch-based)
Example 3: Converting a Date to a Unix Timestamp
A developer needs to store a future expiry date as a Unix timestamp in a database:
Input date: March 31, 2026 23:59:59 UTC
Unix timestamp (seconds): 1743465599
Unix timestamp (milliseconds): 1743465599000
ISO 8601: 2026-03-31T23:59:59.000Z
Use in SQL:
WHERE expires_at > 1743465599
Use in JavaScript:
const expiresAt = 1743465599000;
if (Date.now() > expiresAt) { /* token expired */ }