I have a mySQL database that stores a few things in datetime fields.
I need to check the date is before/after now:
if (date("Y-m-d G:i:s") >= $eventbit['rsvpdate']) {
echo "It's now past the data";
}
Doesn't seem to work
$eventbit['rsvpdate'] is the datetime string from mySQL.