Check if Day light saving is in Effect

 

Check if Day light saving is in Effect
 
 
 
Day light saving begins in US on second sunday in march and ends on first sunday in november at 2AM local time.
To check if daylight saving is in effect you can run the following query on mainframe.
 
 
              SELECT CURRENT TIMEZONE FROM SYSIBM.SYSDUMMY1
; ; ; ;
              
              
if the result of the above query is -600000, this means that day light saving is NOT in effect
and
if the result of the above query is -500000, this means that day light saving is in effect
 
 
The query returns the difference between the CPU time and the GMT time.