Date to Unix timestamp
Pick a date and time using the date picker to get the corresponding Unix timestamp in seconds and milliseconds. The conversion respects your local timezone.
Enter a value above to convert
MODE
Runs entirely in your browser
How it works
All conversions use the browser's native Date API: new Date(), .toISOString(), .toLocaleString(), and Date.now(). No server processing, the result appears immediately in your browser.
Processing runs in your browser
Timestamps are converted entirely in your browser tab. Our servers are not involved at any point.
Related operations
For working out the gap between any two dates, try the date calculator. To find an exact age in years, months, and days, use the age calculator. For aligning timestamps across regions, see the timezone converter.
Frequently asked questions
- Is the conversion in UTC or local time?
- The date picker uses your local timezone, so the resulting timestamp reflects the chosen date/time in your timezone. The tool also displays the equivalent UTC time for reference.
- What is the difference between seconds and milliseconds?
- Unix timestamps are traditionally in seconds. JavaScript's Date.now() returns milliseconds. Many APIs and databases use seconds, divide by 1000 if needed.
Related tools
Date calculator
Days between dates, add or subtract days, calculate age, or count down to a future date.
Timezone converter
Convert any time between time zones using the IANA database. Includes common shortcuts for major cities.
Age calculator
Calculate your exact age in years, months, and days from your date of birth. Includes birthday countdown and total days lived.
Cron expression explainer
Parse any cron schedule into plain English and see the next run times. Fully in-browser.