Date to Unix Timestamp Converter
Convert a date and time to a Unix timestamp (epoch seconds or milliseconds).
Converting Date to Unix Timestamp
A Unix timestamp is the integer number of seconds since 1 January 1970 UTC. Converting a date produces that number, used widely in APIs, databases, and logs.
How to convert Date to Unix Timestamp by hand
- Parse the date and time — include a timezone, or it is read as your local time.
- Compute the elapsed milliseconds since the Unix epoch.
- Divide by 1000 and floor for seconds, or keep the millisecond value.
Worked example
2026-01-01 00:00:00 UTC → 1767225600 — Seconds since the epoch; multiply by 1000 for milliseconds.
More converters
- Unix Timestamp to Date
- Decimal to Binary
- Binary to Decimal
- Decimal to Hexadecimal
- Hexadecimal to Decimal
- Binary to Hexadecimal
Frequently asked questions
How do I convert Date to Unix Timestamp?
Parse the date and time — include a timezone, or it is read as your local time. Compute the elapsed milliseconds since the Unix epoch. Divide by 1000 and floor for seconds, or keep the millisecond value. Or just use the converter on this page — it does it instantly. Example: 2026-01-01 00:00:00 UTC becomes 1767225600.
What is 2026-01-01 00:00:00 UTC in unix timestamp?
2026-01-01 00:00:00 UTC converts to 1767225600. Seconds since the epoch; multiply by 1000 for milliseconds.
Is this converter free and private?
Yes — it is free and unlimited, and the conversion runs entirely in your browser, so nothing is uploaded to a server.