Frequently Asked Questions
Can I convert a date to Unix time?
Yes. Select a date/time value and click Date to Unix to get the corresponding seconds and milliseconds epoch values.
Can I convert a Unix timestamp back to a date?
Yes. Use the Timestamp Converter page to convert a Unix timestamp to a human-readable date.
Does timezone affect the output?
Yes. The conversion uses your local browser timezone unless you enter a UTC date string explicitly.
Example input/output
Input: 2024-05-20T17:43:42Z
Output: 1716219822
How it works
This tool uses Date.parse() to parse the input date string, then divides by 1000 to convert from milliseconds to seconds (Unix epoch). Processing runs in your browser.
Common use cases
- Convert human-readable dates to Unix timestamps for API parameters
- Look up the Unix timestamp of a historical date
- Convert dates before inserting into timestamp columns in a database