OptionalformatEither a single format, or one of several possible formats that the input is expected to be in. If specified, the input must exactly match. See utilities/format/date!DateFormatter.format.
OptionalisIndicates if the date should be parsed without expecting the time component even if the format suggests there is a time.
OptionallocaleThe locale to use when parsing the date. If not specified, the current locale is used (see locale module).
OptionaltimeThe time zone of the date being parsed.
Options supported by parse.