Unix Timestamp Converter
Full epoch converter: live clock, s/ms/µs/ns, date parts, periods, code samples.
UTC 2026-10-26T17:13:42.103Z · Local Mon Oct 26 2026 22:43:42 GMT+0530 (India Standard Time)
Timestamp → human-readable date
Supports seconds (10 digits), milliseconds (13), microseconds (16), and nanoseconds (19). Auto-detect by default.
Detected unit: s (seconds) GMT / UTC: Mon, 26 Oct 2026 17:13:42 GMT ISO 8601: 2026-10-26T17:13:42.000Z Local: Mon Oct 26 2026 22:43:42 GMT+0530 (India Standard Time) Locale: 26/10/2026, 10:43:42 pm Relative: 0 seconds ago Unix s: 1793034822 Unix ms: 1793034822000 Unix µs: 1793034822000000 Day of year: 299 · Week: 44 Y2K38 risk: Within signed 32-bit range
Date / time parts → timestamp
Unix s: 1793034822 Unix ms: 1793034822000 UTC: 2026-10-26T17:13:42.000Z Local: Mon Oct 26 2026 22:43:42 GMT+0530 (India Standard Time)
Date string → timestamp
Input formats: RFC 2822, ISO 8601, D-M-Y, M/D/Y, Y-M-D, and browser-local parsing.
Unix s: 1793034822 Unix ms: 1793034822193 UTC: Mon, 26 Oct 2026 17:13:42 GMT ISO: 2026-10-26T17:13:42.193Z Local: Mon Oct 26 2026 22:43:42 GMT+0530 (India Standard Time)
Epoch for start & end of year / month / day
Start: 2026-10-26T00:00:00.000Z → 1792972800 End: 2026-10-26T23:59:59.000Z → 1793059199
Convert seconds → years, months, days, hours, minutes
0y 0mo 1d 0h 0m 0s
What is the Unix epoch?
The Unix epoch is the number of seconds since 1970-01-01T00:00:00Z (not counting leap seconds). Signed 32-bit systems overflow on 2038-01-19 (the Year 2038 problem).
| Human-readable | Seconds |
|---|---|
| 1 hour | 3,600 |
| 1 day | 86,400 |
| 1 week | 6,04,800 |
| 1 month (~30.44 days) | 26,29,743 |
| 1 year (365.25 days) | 3,15,57,600 |
Code examples (current epoch substituted)
Math.floor(Date.now() / 1000)new Date(1793034822 * 1000).toLocaleString()import time; time.time()import time; time.ctime(1793034822)time()date('r', 1793034822);System.currentTimeMillis()/1000new java.util.Date(1793034822*1000L)DateTimeOffset.Now.ToUnixTimeSeconds()DateTimeOffset.FromUnixTimeSeconds(1793034822)time.Now().Unix()time.Unix(1793034822, 0)Time.now.to_iTime.at(1793034822)SELECT EXTRACT(EPOCH FROM now());SELECT TO_TIMESTAMP(1793034822);SELECT UNIX_TIMESTAMP(NOW());SELECT FROM_UNIXTIME(1793034822);SELECT unixepoch();SELECT datetime(1793034822, 'unixepoch');date +%sdate -d @1793034822[DateTimeOffset]::Now.ToUnixTimeSeconds()[DateTimeOffset]::FromUnixTimeSeconds(1793034822)=(NOW()-DATE(1970,1,1))*86400=(A1/86400)+25569 (format cell as date; A1 = epoch seconds, UTC)How to use the Unix Timestamp Converter
Convert Unix timestamps in seconds, milliseconds, microseconds, and nanoseconds. Live epoch clock, date-part builder, start/end of day/month/year, duration humanizer, and multi-language code examples — fully client-side.
- 1Paste a Unix timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected automatically.
- 2Read the result in UTC, your local time zone and as a relative time, or convert a date back to epoch.
- 3Use the start/end of day, month and year helpers, and copy code snippets for your language.
Frequently asked questions
What is a Unix timestamp?
It is the number of seconds since 00:00:00 UTC on 1 January 1970 (the Unix epoch), ignoring leap seconds. JavaScript and Java often use milliseconds instead.
How can I tell if a timestamp is in seconds or milliseconds?
For current dates, 10 digits means seconds, 13 means milliseconds, 16 means microseconds and 19 means nanoseconds. The converter detects this for you.
What is the Year 2038 problem?
Signed 32-bit integers overflow at 2,147,483,647 seconds, which is 03:14:07 UTC on 19 January 2038. Systems that store time in 32 bits will wrap around at that point.