Yw Chan ) wrote:
> How should I add 8 hours to a date-time variable that's keeping the
> unix time?

    $var + 8 * 60 * 60

Depending on format, you may need to parse the string first, using for
instance the Date::Parse module.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to