100% local

Unix Timestamp Converter

Full epoch converter: live clock, s/ms/µs/ns, date parts, periods, code samples.

Runs in your browser Works offline No uploads, no sign-up
Unix epoch (seconds)1793034822
Milliseconds1793034822103
Microseconds1793034822103000
Nanoseconds1793034822103000000

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-readableSeconds
1 hour3,600
1 day86,400
1 week6,04,800
1 month (~30.44 days)26,29,743
1 year (365.25 days)3,15,57,600

Code examples (current epoch substituted)

JavaScript
nowMath.floor(Date.now() / 1000)
fromnew Date(1793034822 * 1000).toLocaleString()
Python
nowimport time; time.time()
fromimport time; time.ctime(1793034822)
PHP
nowtime()
fromdate('r', 1793034822);
Java
nowSystem.currentTimeMillis()/1000
fromnew java.util.Date(1793034822*1000L)
C#
nowDateTimeOffset.Now.ToUnixTimeSeconds()
fromDateTimeOffset.FromUnixTimeSeconds(1793034822)
Go
nowtime.Now().Unix()
fromtime.Unix(1793034822, 0)
Ruby
nowTime.now.to_i
fromTime.at(1793034822)
PostgreSQL
nowSELECT EXTRACT(EPOCH FROM now());
fromSELECT TO_TIMESTAMP(1793034822);
MySQL
nowSELECT UNIX_TIMESTAMP(NOW());
fromSELECT FROM_UNIXTIME(1793034822);
SQLite
nowSELECT unixepoch();
fromSELECT datetime(1793034822, 'unixepoch');
Shell
nowdate +%s
fromdate -d @1793034822
PowerShell
now[DateTimeOffset]::Now.ToUnixTimeSeconds()
from[DateTimeOffset]::FromUnixTimeSeconds(1793034822)
Excel
now=(NOW()-DATE(1970,1,1))*86400
from=(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.

  1. 1Paste a Unix timestamp. Seconds, milliseconds, microseconds and nanoseconds are detected automatically.
  2. 2Read the result in UTC, your local time zone and as a relative time, or convert a date back to epoch.
  3. 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.