in reply to Re: Daylight Savings Time twist
in thread Daylight Savings Time twist
Then you can play around with however you want to format the $here and $there objects. Check the PODumentation for details.use DateTime; %OurLogs = get_the_time_from_the_log_file_as_a_hash(); $here = DateTime->new( time_zone => 'America/Indiana', map { $_ => $OurLogs{$_} } qw( year month day hour minute second ) ); $there = DateTime->new( time_zone => 'America/Los_Angeles', map { $_ => $here->$_() } qw( year month day hour minute second ) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Daylight Savings Time twist
by BigLug (Chaplain) on Feb 07, 2003 at 23:01 UTC | |
by kanwisch (Sexton) on Feb 17, 2003 at 17:24 UTC |