axxe16
2/16/2017 - 9:54 AM

Confronto fra due date From http://peterwebdesign.it/confrontare-date-in-php/

$today = strtotime($todays_date);
$event_date_new = strtotime($event_date); 
if ($event_date_new > $today)
 { $stringa = "in programmazione"; } 
else 
{ $stringa = "passato"; }