Convert a string into a date; for example, 18/07/2023 or July 18, 2023 into a time type. Set the timezone to be used to a custom timezone, local time, or UTC. Optionally, also provide the date format for parsing in Day.js ↗ format. American date format is used by default (mm/dd/yyyy). Will return Invalid timezone or date for invalid values.