The stupid question is the question not asked | |
PerlMonks |
Re^3: Compare Datesby Random_Walk (Prior) |
on Apr 10, 2015 at 15:45 UTC ( [id://1123049]=note: print w/replies, xml ) | Need Help?? |
If the dates are in some form of numeric 'year month day hour minute second', then check all fields are 0 padded, and a gt/lt/eq compare is perfectly valid and simple to grok what's going on. Its only when you get to the insanity of YYYY DD MM formats, that things go pear shaped... http://www.w3.org/TR/NOTE-datetimeCheers,
Pereant, qui ante nos nostra dixerunt!
In Section
Seekers of Perl Wisdom
|
|