Time & Calendar
Intermediate

Unix Timestamp

Seconds elapsed since 1970-01-01 00:00:00 UTC (the epoch).

Formula

t=86400d+3600h+60m+st = 86400\,d + 3600h + 60m + s

Variables

dWhole days since epoch
h,m,sHour, minute, second

Example

2001-09-09 01:46:40 UTC ⇒ t = 1,000,000,000

Did You Know?

A 32-bit signed timestamp overflows on 2038-01-19 — the looming "Year 2038 problem".