Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Perl daylight savings time issue?

by cLive ;-) (Prior)
on Mar 14, 2016 at 15:11 UTC ( #1157663=note: print w/replies, xml ) Need Help??


in reply to Re: Perl daylight savings time issue?
in thread Perl daylight savings time issue? (nm, I'm an idiot)

It should be false though, because we are not under Daylight Savings Time any more.
  • Comment on Re^2: Perl daylight savings time issue?

Replies are listed 'Best First'.
Re^3: Perl daylight savings time issue?
by Your Mother (Archbishop) on Mar 14, 2016 at 15:15 UTC

    I'm gonna say the $isdst understanding is backwards? Last week it was zero–

    perl -MData::Dumper -le "print [ localtime(time - 60 * 60 * 24 * 7) ]- +>[-1]" 0

    Update: Google on search: Daylight Saving Time (United States) 2016 began at 2:00 AM on Sunday, March 13 and ends at 2:00 AM on Sunday, November 6

Re^3: Perl daylight savings time issue?
by Your Mother (Archbishop) on Mar 14, 2016 at 15:12 UTC

    Oh, I'm sorry. I totally misread the OP. :(

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-08-15 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?