ISO 8601 Date Formatter - Convert Local Date and Time

Convert a local date and time to ISO 8601 in UTC and with your browser's timezone offset. Copy precise timestamps for APIs, logs, and databases.

Convert a local date and time to ISO 8601

Turn a local date and time into two unambiguous ISO 8601 timestamps: one in UTC and one with your browser's current timezone offset. The results are ready to copy into API requests, application logs, database records, or test data.

How to use the ISO 8601 Date Formatter

  1. Enter a date as YYYY-MM-DD, optionally followed by HH:MM or HH:MM:SS.
  2. Click Format or press Enter.
  3. Copy either the UTC (Z) result or the result with your local timezone offset.

Common use cases

  • Preparing timestamps for API payloads.
  • Standardizing logs and audit trails.
  • Converting user input to ISO strings.
  • Debugging time zone offsets.

Tips & notes

  • The input is interpreted in your browser's local timezone.
  • Use the UTC result when systems need a single universal point in time.
  • Keep the offset result when the local offset is important context.
  • Daylight saving rules can change the offset for different dates.

Related time tools

FAQ

How is my input timezone interpreted?
The tool treats the date and time as local time in your browser's timezone. It then shows both the equivalent UTC timestamp and a timestamp with your local UTC offset.
What do Z and a timezone offset mean?
Z means UTC. An offset such as +07:00 shows how far that local time is ahead of or behind UTC.
Can I enter a date without a time?
Yes. A date by itself is interpreted as midnight (00:00:00) in your browser's local timezone.
Does the formatter change my data or store it?
No. Formatting happens in your browser, and the tool does not store the value you enter.