Help for this page

Select Code to Download


  1. or download this
    . Compare two dates
    
     $date1 = ParseDate($string1);
    ...
     } else {
       # date2 is earlier
     }
    
  2. or download this
    Among other things, Date::Manip allow you to:
    ...
    2. Compare two dates, entered in widely different formats to determine
    which is earlier