Here is the code
$variable_date = '4/22/2013'; // Just add your string variable here
$date_to_check = date('m/d/Y', strtotime($variable_date));
$current_date = date('m/d/Y');
echo "Current Date is ".$current_date."
";
echo "Date to check is ".$date_to_check;
?>
Copyright © 2026 eLLeNow.com All Rights Reserved.