Laravel: Get Between date range data from start date and End date

Viewed 31

I have list of data with start date & end date. Now I have to filter data which lies down between the given start date & end date.

Example: I have a record that has a start date of 15/01/2022 & end date is 30/01/2022. Now I select 20/01/2022 as the start date and 20/01/2022 as the end date in my filter. So it should return that record as its date range lie down between my filter dates.

0 Answers
Related