Date Range Picker

I wanted a select date range i.e. start and end date from same calendar store in separate variables and send this data as parameter to api endpoint. Can anyone tell me how can we achieve this.

Had the same issue, i basically just created a start date and an end date seperatly