http://qs321.pair.com?node_id=1157663


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. :(