[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup dsl minecraft social
tilde nihongo europa webmail gallery usermap teach irc tutorials software telnet ssh

[05] HOW CAN I CHANGE THE SYSTEM TIME TO REFLECT MY TIMEZONE?

     You need to set the environment variable TZ with your 
     timezone.  SDF is set to UTC (universal earth time).  If
     you want the system date to be offset to your timezone,
     try the following:

     $ date
     Wed Jun 23 18:26:20 UTC 2004
     $ export TZ=CST6CDT
     $ date
     Wed Jun 23 13:28:22 CDT 2004

     CST6CDT will offset system time to US Central time.  For
     a listing of timezones, look in /usr/share/zoneinfo

[back]


©1987-2065 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)