Date to Unix Timestamp Converter
Convert a date and time into a Unix timestamp in the selected unit.
How to use Date to Unix Timestamp Converter
1. Enter Date & Time (UTC), Timestamp Unit. 2. The datetime field is explicitly UTC, not browser local time. Gregorian input years 0100–9999; output follows ECMAScript Unix epoch time and does not model leap seconds. 3. Select Convert or press Enter. 4. Select Copy result to copy the answer, or Reset to clear the form and result.
Why use this tool?
The datetime field is explicitly UTC, not browser local time. Gregorian input years 0100–9999; output follows ECMAScript Unix epoch time and does not model leap seconds.
How the calculation works
Interpret the entered calendar clock as UTC; seconds = floor(UTC milliseconds since epoch ÷ 1000). The datetime field is explicitly UTC, not browser local time. Gregorian input years 0100–9999; output follows ECMAScript Unix epoch time and does not model leap seconds. Counts and dimensions use the declared rounding convention; other numbers display up to three decimal places where applicable. Nonzero subsecond durations are labelled. Durations round to the nearest second; nonzero subsecond durations are labelled. File-size output units are decimal. Changing an input label does not convert filled values.
Example
Worked example: Date & Time (UTC) = "1970-01-01T00:00"; Timestamp Unit = "seconds". Result: 0.
Practical tip
Check the input labels and assumptions against the date to unix timestamp task before reusing the number.
Frequently asked questions
What exactly does Date to Unix Timestamp Converter calculate?
Interpret the entered calendar clock as UTC; seconds = floor(UTC milliseconds since epoch ÷ 1000).
Which units or counting rules apply?
The datetime field is explicitly UTC, not browser local time. Gregorian input years 0100–9999; output follows ECMAScript Unix epoch time and does not model leap seconds.
Does this inspect, change or upload my files?
This page calculates the entered values or text in the browser. Numeric image/media tools do not transform files. Check the worked example and stated counting basis; the result does not certify device, search-engine or accessibility outcomes.