Epoch Precision Converter (Seconds to Nanoseconds)
Auto-detects the unit from digit count, adds relative time and ISO 8601, and handles negative pre-1970 values
A developer's epoch converter that reads the unit off the digit count alone — seconds, milliseconds, microseconds, or nanoseconds — and names the unit it detected on screen, so you're never guessing which one it assumed. Results come back as local time, UTC, ISO 8601, and a relative reading like "3 hours from now"; feed it a negative number and you'll get dates before 1970. Going date → timestamp, you can use the date picker or type the year, month, day, hour, minute, and second by hand, and all four unit values appear with their own copy buttons. The live clock at the top refreshes every 100 ms and pauses when you need to freeze a value. All conversions happen in your browser.
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
How to use
- Type a number like 1773532533 into the timestamp field at the top — the unit (seconds, milliseconds, microseconds, or nanoseconds) is detected automatically from the digit count.
- Click "Use Current Time" to drop in the timestamp for right now.
- The results show your local time, UTC, ISO 8601 format, and a relative time (for example, "in 3 hours"), each with its own copy button.
- To convert the other way, use the "Date → Timestamp" section and either pick a date with the date picker or switch to the tab for entering year, month, day, hour, minute, and second directly.
FAQ
- How does it tell seconds from milliseconds and other units?
- It goes by the number of digits you enter. Up to 11 digits is treated as seconds, up to 14 as milliseconds, up to 17 as microseconds, and anything longer as nanoseconds.
- Can I enter negative timestamps?
- Yes. Negative values represent dates before January 1, 1970, and they work fine here.
- Are the timestamps or dates I enter sent anywhere?
- No. Every conversion is calculated instantly in your browser with JavaScript — nothing is sent to a server.
