Except for the Navajo Nation, Arizona doesn't use Daylight Saving Time. : Day Light Saving « Time « Ruby






Except for the Navajo Nation, Arizona doesn't use Daylight Saving Time.

ENV['TZ'] = 'America/Phoenix'
arizona = Time.local(2006, 10, 1)      # => Sun Oct 01 00:00:00 MST 2006
arizona.isdst                          # => false

 








Related examples in the same category

1.Checking Whether Daylight Saving Time Is Currently in Effect
2.Is daylight saving time
3.Is daylight saving time by time zone
4.restore the original time zone.