On Tue, 1 Apr 2003, Richard Smith wrote: > Using DateTime-TimeZone-0.11 and DateTime-0.08. > > Here we go... > > use DateTime; > > $dt = DateTime->new( year => 2003, > month => 2, > day => 26, > hour => 18, > minute => 41, > second => 0, > time_zone => "Europe/London"); > > $usertimezone = $dt->offset; > > print $usertimezone . "\n" . $dt->is_dst . "\n"; > > > Result is two 0's.
Um, that's correct. 2003-02-26 is still in Standard time, with an offset of 0 in London. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
