Skip to main content

io.experimental.date

Requests a date.

Usage

const date = await io.experimental.date("Date");
interval.com

Props

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