home *** CD-ROM | disk | FTP | other *** search
/ norge.freeshell.org (192.94.73.8) / 192.94.73.8.tar / 192.94.73.8 / pub / sdf / faq / HACKER / 05 < prev    next >
Text File  |  2004-06-22  |  508b  |  16 lines

  1. [05] HOW CAN I CHANGE THE SYSTEM TIME TO REFLECT MY TIMEZONE?
  2.  
  3.      You need to set the environment variable TZ with your 
  4.      timezone.  SDF is set to UTC (universal earth time).  If
  5.      you want the system date to be offset to your timezone,
  6.      try the following:
  7.  
  8.      $ date
  9.      Wed Jun 23 18:26:20 UTC 2004
  10.      $ export TZ=CST6CDT
  11.      $ date
  12.      Wed Jun 23 13:28:22 CDT 2004
  13.  
  14.      CST6CDT will offset system time to US Central time.  For
  15.      a listing of timezones, look in /usr/share/zoneinfo
  16.