![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re: use of date n time functionsby ZlR (Chaplain) |
on Mar 08, 2010 at 10:03 UTC ( [id://827355]=note: print w/replies, xml ) | Need Help?? |
Or you could parse out the dates with a regex, then use the Date::Calc bazooka to compare theses dates and find the most recent one.
The advantage of this being that you don't have to take into acount tricky dates pitfalls like leap years and so forth, as Date::Calc does that for you.
In Section
Seekers of Perl Wisdom
|
|