Determine if Day is in the Future of Today PHP
Check if Date is in the Future. A Small Snippet to determine if day is bigger than today.
Check if Date is in the Future. A Small Snippet to determine if day is bigger than today.
$checkdate = new DateTime($current_store['checkdate']); $current_date = new DateTime(); if ($checkdate > $current_date) { //date is in the future } else{ //date before }