Skip to main content

Requests a date.


const date = await"Date");


defaultValueOptional objectDefault value for the input.
helpTextOptional stringOptional label providing additonal context.
maxOptional objectLatest possible date value for the input.
minOptional objectEarliest possible date value for the input.

Returns: Object

dayRequired numberThe day of the month of the provided date.
jsDateRequired DateJavaScript Date object containing the date value.
monthRequired numberThe calendar month of the provided date, 1-12.
yearRequired numberThe year of the provided date.
Did this section clearly explain what you wanted to learn?
On this page