Parse an HTML datetime-local value into a local Date.
Accepted normalized values use a year with at least four digits followed by
-MM-DDTHH:mm, with optional seconds and 1-3 fractional-second digits.
Components are validated strictly, so impossible dates and times return
null instead of being normalized by Date.
Parse an HTML
datetime-localvalue into a localDate.Accepted normalized values use a year with at least four digits followed by
-MM-DDTHH:mm, with optional seconds and 1-3 fractional-second digits. Components are validated strictly, so impossible dates and times returnnullinstead of being normalized byDate.Usage:
Output: