in reply to Re^3: Converting dates with Date:Format
in thread Converting dates with Date:Format
Hi 1nickt,
I think the best of all in his case may be to add the time_zone param in the constructor as you say, but provide the value "local".
That's an excellent point!
Just to expand on that, it's also possible to say time_zone=>'America/New_York' - see the output of perl -MDateTime::TimeZone -le 'print for DateTime::TimeZone->all_names' .
Regards,
-- Hauke D
|
|---|