Convert Date to Timestamp
Turn a calendar date and time into a Unix timestamp.
One per line — paste a whole column from a log file.
What does Date to Timestamp Converter do?
Convert a date and time into a Unix timestamp, choosing which time zone the input should be interpreted in. That choice matters — the same wall-clock time is a different instant in Tokyo and in New York.
How to Use Date to Timestamp Converter
- 1Pick the date and timeOr paste an ISO 8601 string.
- 2Choose the input time zoneThis determines the instant it represents.
- 3Copy the timestampIn seconds or milliseconds.
Key Features
- Date and time picker with seconds precision
- Explicit input time zone, so the result is never ambiguous
- Seconds, milliseconds and microseconds output
- Accepts pasted ISO 8601 and common date strings
- ISO 8601 equivalent shown for confirmation
Frequently Asked Questions
Why does the time zone matter?
Because a timestamp identifies an absolute instant, while "3 pm on 1 June" does not until you say where. 3 pm in London and 3 pm in New York are five hours apart, giving different timestamps.
What happens on daylight saving transitions?
One local hour is skipped in spring and repeated in autumn. A time inside the skipped hour does not exist, and one inside the repeated hour is ambiguous. The tool flags both cases rather than guessing.
Should I store dates as timestamps in a database?
Store instants as UTC — either a timestamp or a timestamptz column. Store future local events, such as a 9 am recurring meeting, as a local date plus a zone name, because the UTC offset may change before it happens.
What date formats are accepted?
ISO 8601 is safest. Formats such as 01/06/2026 are ambiguous — that is 1 June in most of the world and 6 January in the US — so the tool asks you to confirm rather than assuming.
Dates and times are calculated in your browser using its built-in IANA time zone database. Nothing you enter is transmitted.
Related Tools
Timestamp to Date Converter
Turn a Unix timestamp into a readable date and time.
Unix Timestamp Converter
Convert Unix timestamps to dates and back, in any unit.
Current Unix Timestamp
The live Unix timestamp right now, in every unit.
Time Zone Converter
Compare a time across multiple cities and time zones.