How to compare two dates in php if dates are in format \'03_01_12\' and \'31_12_11\' .
\'03_01_12\'
\'31_12_11\'
I am using this code:
$date1=date(\'
compare the result of maketime() for each of the time
maketime()