Hi all,
Can anyone explain why the following is so?
I have the following:
$current_date = strtotime(date("d-m-Y"));
$day = 10;
$month = 12;
$year = 2003;
echo "$day-$month-$year";
$delivery_date = strtotime("$day-$month-$year");
echo "$delivery_date<br>";
echo $current_date;
What i don't understand is that the value for $delivery_date is less than $current_date. The values are:
$delivery_date = 1464098400
$current_date = 1903356000
Shouldn't the $delivery_date value be greater?
Cheers,
micmac