> -----Original Message----- > From: Moreno, Javier > [mailto:[EMAIL PROTECTED] On > Behalf Of Moreno, Javier > Sent: 04 August 2004 17:42 > To: Activeperl (E-mail) > Subject: Dates on perl > Hi, > > I had an issue trying to compare dates in format YYYY-MM-DD > so what I did was strip them of the hyphen making them > numbers and then compare them. I was just wondering if there > is a way to do compare or math with dates on perl, and if so, > what format is the one perl will take in as input?
Take a look at the Date::Calc and Date::Manip modules for starters. HTH -- Brian Raven ----------------------------------------------------------------------- The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary companies. ----------------------------------------------------------------------- _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
