Date pickers let users select a date or range of dates. They should be suitable for the context in which they appear.
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 or manually type the date in the text field.