if I want to compare today's date to August 12, 2003, can I use the if statement as follow, because I check and it works fine, but someone suggests me that "12082003" is a string and it is not going to work okay....
can some help? and any better alternatives?
$datenow = date("dmY");
echo "date today is ".$datenow."<BR>";
if ($datenow > "12082003")
echo "date today is greater than August 12, 2003";
else
echo "date today is smaller than August 12, 2003";