in reply to date comparison
The content of $delta is a string which you have to know how to read. The format is:use Date::Manip; $date1=&ParseDate('2004-10-28'); $date2=&ParseDate('2003-10-23'); $delta=&DateCalc($date1,$date2,\$err,1); print $delta."\n";
Actually, there are several options for date comaprison. Read perldoc Date::Manip for more information.YY:MM:WK:DD:HH:MM:SS (the years, months, etc. between the two)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: date comparison
by TVSET (Chaplain) on May 20, 2003 at 14:42 UTC |