http://qs1969.pair.com?node_id=913425


in reply to How do I Compare Dates

for the answer provided by tenatious.

Why does one need to calculate the date?
$dv1 = $d+31*$m+365*$y; $dv2 = $d+31*$m+365*$y;
Couldn't it just be:
$dv1 = $yyyymmdd $dv2 = $yyyymmdd

Originally posted as a Categorized Answer.