Answers for "determine date using php"

PHP
1

check if date is past php

$date = new DateTime($event['date']);
$now = new DateTime();
if($date < $now) {
    echo 'Date is in the past';
}
Posted by: Guest on March-27-2021
0

show date php

check here link:   http://www.eltcalendar.com/stuff/datemysqlphp.html
Posted by: Guest on August-29-2020

Code answers related to "determine date using php"

Browse Popular Code Answers by Language