in reply to Re: date comparing
in thread date comparing

Actually what you say is correct for determining time elapsed between two dates, but not for simply determining if two dates are inorder (what "compare" normally means). If the dates are in ISO or DIN compliant format then they are readily compared using the eq operator.

Just another reason for discarding outdated conventional date formats like dd/mm/yy or the even more bizarre mm/dd/yy.

print POSIX::strftime("%Y%m%d%H%M%S",localtime);
Sorry, I guess i'm in a pedantic mood this morning. :-)

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.