mercredi 3 juillet 2019

Get the available date range from Availabe date range array and Blocked date range array

I have 2 array one of them is having Available date range based on hotel and another array is room based that is having blocked date range. In last step i want to get the only available date range from 1st array.

That is my Available date range array https://imgur.com/A5wOUSF

and here is my Blocked date range https://imgur.com/A7KhdDD

and here is my Expected Result https://imgur.com/dSYaJeS

i tried using get both available array and merge them but failed and also its long process as i have blocked date range stored in my DB.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2XqL58z
via IFTTT

Aucun commentaire:

Enregistrer un commentaire