QNX RTOS v4 Knowledge Base
  
QNX RTOS v4 Knowledge Base
  
    
      | 
          
            | Title | Setting time zone when daylight savings time is not observed (TZ) in QNX4. |  
            | Ref. No. | QNX.000010304 |  
            | Category(ies) | Utilities |  
            | Issue | I want to be able to set our PC for any U.S. time zone. 
 
 
 Currently, I know how to change
 
 this line in the sysinit.1 file
 
 x09export TZ=est05edt04,M4.1.0/2,M10.5.0/2
 
 
 
 according to the time zone:
 
 
 
 Eastern Standard Time (est, edt):x09est05edt04
 
 Central Standard Time (cst, cdt):x09cst06cdt05
 
 Mountain Standard Time (mst, mdt):x09mst07mdt06
 
 Pacific Standard Time (pst, pdt): pst08pdt07
 
 
 
 Questions:
 
 *x09What do I enter for Alaska?
 
 *x09For Hawaii?
 
 *x09For Arizona (where daylight savings time is not observed)?
 
 
 
 |  
            | Solution | The following answers the question and follows with a breakdown of the answer. 
 
 (Alaska)x09
 export TZ=AST9,< Any other settings you want>
 Breakdown:x09
 AST("Alaska Standard Time" Can be anything you want here. Could be TIM or anything that makes sence to you.)
 9 (9 hours before UTC/GMT ),
 
 < Any other settings you want> (The documentation gives examples for this in the "Establishing the time zone" section found at http://qdn.qnx.com/support/docs/qnx4/user_guide/install.html )
 
 (Arizona)
 export TZ=AST7,M4.1.0/2,M10.5.0/2
 
 
 (Hawaii) x09
 export TZ=HST10,M4.1.0/2,M10.5.0/2
 |  |