I have two doubts.
The first one, I have the opening and closing times of an establishment, and I have the current time, as I do an algorithm that calculates if the establishment is open or closed and returns a Boolean 'True' if it is open or Boolean 'False' if it is closed.
The second, I want an event to expire, I create events for future days, I want my program to know that it has already happened and stop displaying.
My program is made in PHP. Please help!