Personally I like Time::Local for this kind of calculation, but there are some Date:: modules out there that can do it too.
-----Original Message----- From: Rafael Morales [mailto:[EMAIL PROTECTED] Sent: Friday, December 02, 2005 11:23 AM To: beginners@perl.org Subject: Convert date to timestamp Hi list. I have two dates in format YYYY-MM-DD for example ( 2005-09-01), but I need to pass them to timestamp format, how do I do it ???. I tried with time, localtime, gmtime, but I can“t. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>