Front page | perl.datetime |
Postings from January 2003
Changing time zones?
Thread Next
From:
Dave Rolsky
Date:
January 30, 2003 17:19
Subject:
Changing time zones?
Message ID:
Pine.LNX.4.51.0301301917480.9570@urth.org
What should happen when someone does this:
my $dt = ...;
$dt->set( time_zone => 'America/Denver' );
and the new time zone is different from the old?
There's two ways to do this. One is to keep the UTC time the same, which
ends up shifting the effective local time.
The other would be to change the local time (in effect shifting the UTC
time).
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/
Thread Next
-
Changing time zones?
by Dave Rolsky