TimPoorary has asked for the wisdom of the Perl Monks concerning the following question:
the $start_tz variable is parsed out of a record, and contains the old formatting for TZs. CST6CDT, PST8PDT, etc..etc.. however it is choking on MST7 with the error: "Invalid offset: MST7" Seems to process other timezones fine.my $start_dt = DateTime->new( year => $start_year, month => $start_month, day => $start_day, hour => $start_hour, minute => $start_minute, second => $start_second, nanosecond => 000000000, time_zone => "$start_tz" );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MST time Zone
by ikegami (Patriarch) on Jul 08, 2010 at 16:59 UTC |