What do you mean by "compare"? Do you just want to find which is the earliest? Or the latest?
The easiest way is probably to convert them into DateTime objects. DateTime::Format::Strptime can be useful for that.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: How to compare two date strings??
by davorg
in thread How to compare two date strings??
by dani_cv_74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |