I'm creating calendar for few days events and the events can not overlap. But event can start/end when another event starts/ends.
In Laravel, in my event model table I am storing start and end date of events. How can I check before storing new event do database, if it is valid (is not overlapping with existing events, excluding margin/boundary days) ?
In advance thank you very much for Your help.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2eknVaS
via IFTTT
Aucun commentaire:
Enregistrer un commentaire