I'm trying to cycle through some dates in this format: "May 10, 2016" and see if today is before or after that, for the purpose of showing/hiding div's associated with that date.
I've searched so far, and only found questions where the comparison is just with numerical dates, but what would be the correct code for this sort of comparison:
$cDate = "May 10, 2016"
$todayDate = NOW(); // in "May 25, 2016" format
if ($cDate < $todayDate) {
...more code...
}