JoeAtRevolutionUnltd
Programmer
I'm looking for a way to subtract and event date from the current date in order to find upcoming events.
This is a piece of the old working code.
This is a piece of the old working code.
Code:
$SQL = 'SELECT *
FROM events e
WHERE DATEDIFF("'.$today.'",e.E_End_Date) <= 1 ';