Date Format Parser and Converter

Parse a date using an explicit format and print it in a chosen output format.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options
Case matters: yyyy = year, MM = month, dd = day, HH = 24-hour hour, mm = minute. For example: dd/MM/yyyy HH:mm.
Use the same format tokens. Put literal text in single quotes, such as the T in yyyy-MM-dd'T'HH:mm.
Search for a city or choose UTC. Regional zones follow daylight-saving changes.
When clocks go back, a local time can occur twice. Choose earlier or later only if that date needs it; otherwise keep the default.

How to use this tool

  1. Enter one date/time and its exact Luxon format, such as dd/MM/yyyy HH:mm.
  2. Choose a zone and output format. Use yyyy for year, MM for month and dd for day.

Things to know

  • Format tokens are Luxon tokens, not PHP, strftime or Java tokens. Parsing uses English month/day names. Ambiguous formats are not guessed.
  • Date text: 500 characters. Input/output Luxon format strings: 200 characters each; time zone: 128 characters. No format guessing or remote lookup.
  • Use no more than 200,000 characters across the input and settings.

You might also need

More in dates & time