Check out the Time::Local module. It will let you convert your text date into Perl time() format.
-----Original Message----- From: Scott Taylor [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 11:36 AM To: beginners@perl.org Subject: Dates Hello, I have a date in UT that looks like this: "2005-11-02 01:36:00.0" Can anyone tell me the best way to subtract 8 hours from it, or to convert it to PDT? <snip> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>