Date to Timestamp Converter
Type a date in almost any common format, choose the zone it is written in, and get the Unix timestamp in seconds and milliseconds.
Processed locally in your browser· Your data stays in your browser.
What is Date to Timestamp Converter?
Converting a date to a timestamp requires two decisions: how to read the text and which time zone it belongs to. This tool parses ISO 8601 (2024-03-15T14:30:00Z), slash and dot formats (2024/03/15, 15.03.2024), RFC 2822, 12-hour times with AM/PM, and month names in English, French and Spanish, with offsets such as Z or +02:00.
When the text carries no offset, it is read in the IANA time zone you select, including daylight saving rules. Numeric dates like 03/04/2024 are ambiguous, so a "numeric date order" option lets you choose day-first or month-first; on Auto it guesses and warns you.
How does it work?
- Enter one date and time per line, for example 2024-03-15 14:30:00 or 15 mars 2024 14:30.
- Choose the time zone the dates are written in, or type any IANA name.
- For dates like 03/04/2024, set the numeric date order to day-first or month-first.
- Read the seconds and milliseconds, and copy the text output in the unit you selected.
Common use cases
- Building an epoch value for a database query that filters on created_at.
- Computing the exp claim of a test JWT from a human-readable expiry date.
- Converting a European DD/MM/YYYY date from a spreadsheet into a timestamp without US-style confusion.
- Scheduling a job at a specific wall-clock time in another time zone.
Examples
Try this input in the tool above:
2024-03-15 14:30:00
1710513000
Privacy
Date to Timestamp Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
Ambiguous numeric dates need your input on the day/month order, and a local time falling in a daylight saving gap does not exist: it is moved forward and reported with a warning.
Frequently asked questions
Which time zone is used when I do not type one?
The one selected in the zone option, UTC by default. An explicit Z or offset written in the date always wins over the option.
How is 03/04/2024 interpreted?
With Auto, the tool uses month-first when the separator is a slash and day-first with dots or hyphens, unless one part is greater than 12, and it shows a warning. Set the order option to be explicit.
Are milliseconds preserved?
Yes. A fraction such as 14:30:00.250 is kept, so the millisecond output ends in 250. Digits beyond milliseconds are truncated.
Related tools
Unix Timestamp Converter
Paste an epoch value or a date and get every common representation at once: seconds, milliseconds, ISO 8601, RFC 2822, local time and relative time.
Date & Time
Timestamp to Date Converter
Paste a column of epoch values from a log or a database export and get one readable date per line, plus a table with the detected unit.
Date & Time
Current Unix Timestamp
A live clock that shows the current epoch time in seconds and milliseconds, ready to copy, alongside the ISO 8601 UTC date and your local time.
Date & Time
Local Time to UTC Converter
Enter a wall-clock time from any zone and get the matching UTC time, with a warning when daylight saving makes that local time non-existent or ambiguous.
Date & Time
UTC to Local Time Converter
Enter a UTC date and time and see it in New York, Paris, Tokyo or any other zone, with the offset and whether daylight saving time is active.
Date & Time
Date Difference Calculator
Enter two dates and get the calendar difference in years, months and days, together with total days, weeks and the number of weekdays.
Date & Time
Time Difference Calculator
Enter a start and an end date-time and get the exact elapsed time, broken down into days, hours, minutes and seconds and as totals.
Date & Time