There's more than one way to do things | |
PerlMonks |
Re: Choosing the closest date...by Callum (Chaplain) |
on Dec 19, 2002 at 12:31 UTC ( [id://221095]=note: print w/replies, xml ) | Need Help?? |
Your question isn't terribly clear, however... dates are always tricky creatures, and I'd advocate a look at Date::Manip or Date::Calc (which is faster, but C based) which will do what I think you want to do, along with almost any other date manipulation you need.
In Section
Seekers of Perl Wisdom
|
|