Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Date::Manip time zone is resetting in some cases

by tcabeen (Novice)
on Nov 22, 2015 at 06:48 UTC ( [id://1148337]=note: print w/replies, xml ) Need Help??


in reply to Re: Date::Manip time zone is resetting in some cases
in thread Date::Manip time zone is resetting in some cases

Yes, that's why I chose to use Date::Manip in the first place. My solution needs to be able to handle the short and long days of the year. I also need it to remain in the time zone that I set without arbitrarily changing.
  • Comment on Re^2: Date::Manip time zone is resetting in some cases

Replies are listed 'Best First'.
Re^3: Date::Manip time zone is resetting in some cases
by poj (Abbot) on Nov 22, 2015 at 14:45 UTC
    ..without arbitrarily changing.

    Are you referring to the change from PST to PDT ?

    poj

      Oh good grief. You are awesome.

      I modified my print statement to demonstrate how dimwitted I am. Thank you, poj, for taking the time to help me find the detail I was missing.

      print $dateObjStart->printf('%Y%m%dT%H:%M%z %Z') . "\n\n";

      Clearly, I was confusing the offset with the actual time zone. Classic inability to see the forest for the trees. Thank you again!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1148337]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found