I have a simple MySql DB with some logdata. I want get a forecast for events that repeats +-30min on a Weekday. eg: I compare 3 Events that match the criteria and give a alert.
And now the Question: What is the best method to compare the time? I can put mktime or date() via PHP into the DB or I do it direct with mysql.