The problem is that you need to define this fields not in raw month-day-year format, but in the
date_to_unix format to do calculations.
What you can try is the following:
1) Add the following codes at the top of your
sub html_record routine before the
print qq| code:
Code:
$rec{'Date'} = &date_to_unix(&get_date);
$rec{'Date2'} = &date_to_unix(&get_date);
2) Then you can use the comparison codes you have....
Code:
if ($rec{'Date'} > $rec{'Date2'}) {
Regards,
------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com * Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.