Unix Timestamp
Convert a UTC date and time into a Unix timestamp.
About Unix Timestamp
The days since the Unix epoch are combined with the time of day to produce the total seconds. Unix timestamps are the universal interchange format for storing and comparing moments across systems.
Formula
Unix Timestamp
Unix time = days since 1970-01-01 x 86400 + hour x 3600 + minute x 60 + second
- epoch
- January 1, 1970 at 00:00 UTC
Worked example
With the default values below, Unix Timestamp returns Unix Seconds of 1,755,259,200. Change any input above and every figure here is recalculated in your browser.
Inputs used
- UTC year
- 2,025
- UTC monthaccepts 1–12
- 8
- UTC dayaccepts 1–31
- 15
- UTC houraccepts 0–23
- 12
- UTC minuteaccepts 0–59
- 0
- UTC secondaccepts 0–59
- 0
Results
- Unix Seconds
- 1,755,259,200
- Unix Milliseconds
- 1,755,259,200,000
- Days Since Epoch
- 20,315
Step by step
- 1Values used
- 2Unix Timestamp
- 3Unix Seconds= 1,755,259,200
- 4Unix Milliseconds= 1,755,259,200,000
- 5Days Since Epoch= 20,315
Assumptions and limits
- The result is derived only from the 6 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to whole numbers, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is Unix Timestamp calculated?
Unix time = days since 1970-01-01 x 86400 + hour x 3600 + minute x 60 + second The days since the Unix epoch are combined with the time of day to produce the total seconds.
Why does Unix Timestamp matter?
Unix timestamps are the universal interchange format for storing and comparing moments across systems.
What values do I need to enter?
This calculator takes 6 inputs: UTC year, UTC month, UTC day, UTC hour, UTC minute, UTC second. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
