Commaring Two dates or month

2009-02-24 Thread Perl Perl
Dear All, I have to compare two dates. And populate the result based on that. First date I have received from previous script, which in this form 5-Feb-09. And I have to compare this date with current date, locatime() . With the localtime() I will get the current Day (24),Month (2) year

RE: Commaring Two dates or month

2009-02-24 Thread Steve Howard (PFE)
Just a suggestion Why not use the Date::Calc package and use the Delta_Days function? I used to use that all the time for things like what I understand you to want to do. There are a lot of great date functions built into that package that save a lot of time in development. Steve From: