How to set date range in Datepicker?
Set relative dates
Call datepicker() method on the input element. dateFormat – Set date format. maxDate – Set max selection date. In the example, I set it to +1m +10d means 1 month and 10 days from today.
How do you show date ranges?
Date range within a single cell
To display two dates as a date range inside a single cell, you have to use the TEXT function. It converts a value to text in the specified format. The date in this example is written in the following format: yyyy-mm-dd. Fill two remaining cells to get ranges for all dates.