Date pickers are mainly needed when it is required to pick a not-yet-known date in context for a specific event or schedule some plan.
Attachment 12971
Improve the user experience by allowing users to simply select rather than inputting using the keyboard.
For custom code to add date picker in Magento 2 custom form, visit https://meetanshi.com/blog/add-date-...2-custom-form/