Check whether a year is a leap year, by the Gregorian 4 / 100 / 400 rule.
Unix Timestamp Converter
Convert a UTC date and time to a Unix timestamp (seconds since 1970-01-01).
- Free
- No sign-up
- Runs in your browser
Input
A date written as YYYY-MM-DD, for example 2024-01-31.
HH:MM or HH:MM:SS; defaults to midnight.
Fill in Date (UTC) to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter a UTC date, and optionally a time.
- 2
The result is the Unix timestamp in seconds (and milliseconds).
Questions about Unix Timestamp Converter
Which time zone is used?
UTC. Unix time is defined in UTC, so the conversion is unambiguous and matches what servers and databases store.
Is anything sent anywhere?
No. The calculation runs entirely in your browser; your dates never leave the page.
Does the Unix Timestamp Converter work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Unix Timestamp Converter keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Unix Timestamp Converter uploaded or stored?
No. The Unix Timestamp Converter runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Unix Timestamp Converter on a phone or tablet?
Yes. The page is responsive, so the Unix Timestamp Converter works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Count the number of days between two dates.
Find the difference between two dates in years, months and days, and the total days.
Find an age in years, months and days from a date of birth to a given date.
Find which day of the year a date is (1–366), and how many days remain.
Add a number of days to a date and get the resulting date and weekday.
Count the business days (Monday–Friday) between two dates, inclusive.
Subtract a number of days from a date and get the resulting date and weekday.