Answer the question
In order to leave comments, you need to log in
Teeeeeeeeeeeest?
testtesttesttesttesttesttesttesttesttest
Answer the question
In order to leave comments, you need to log in
Option 1
By crown at midnight, add a stub to the database for the next day. When adding an event, remove that day's stub.
Option 2
By crown at midnight, add a stub to the database for the previous day if there are no events for this day.
Option 3
foreach on all days. If the first array contains events for the desired day, copy them to a new array, otherwise add a stub to the new array
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question