Date components are used to display past, present, or future dates. The kind of date (exact, approximate, memorable) you are requesting from the user will determine which component is best to use.
NOTE: all date components expect their value to be an ISO 8601 date string (without the time signature), which follows the format
Use if the date can be remembered by the user easily, such as a date of birth, and they don’t need a calendar to anticipate the dates.
Use a calendar picker when the user needs to know a date’s relationship to other days or when a date could be variable. It allows the user to view and pick dates from a calendar widget.
Notice that we're disallowing selection of days prior to today using the
disabledDays property. We're also disabling navigation to months prior to
fromMonth because they would not be selectable.
The date range picker functions much like the single date picker but instead of
choosing just one date the user can choose a