valueAsDate

external var valueAsDate: Date?(source)

The valueAsDate property of the HTMLInputElement interface represents the current value of the element as a Date, or null if conversion is not possible.

MDN Reference