SQL query for today's events
I would like to show all events from today, no matter what time during the day they start and finish. I had tried to build this into my script by firstly defining today's Perl time at 00:01 and 23:59 and then comparing them to the event's dateline_from and dateline_to columns. I can't get this to deal with recurring events though.
Anyway, now I think I'm doing this all wrong and there must be a better way.
Thanks.
A condition would be something like
WHERE dateline < END_OF_TODAY AND dateline > START_OF_TODAY
#If you have any other info about this subject , Please add it free.# |