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: perl-w
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
Thanks Jack, yes another member suggested method 1 and I am going to be
using that.
The reason for using this is that a legacy app ( no source, probably VB)
was giving clients a text box with a 5 box choice as to what they wanted
to do with the input, so each box press would slightly modify the
ca