I have a collection that contains information about Store opening/closing times for different periods. My gallery if filtered depending on which Store you choose.
The collection has several columns: StoreName, StartDate, EndDate
I need to add a button that checks if there are any date gaps, should there be more than two periods assigned to a store.
For example:
Store A
Period 1
Start date: 2020-12-01 (YYYY-MM-DD)
End date: 2020-12-02
Store A
Period 2
Start date: 2020-12-04
End date: 2020-12-05
In this case there is a gap between the two periods.
Any help appreciated!

Report
All responses (
Answers (