Differences

This shows you the differences between two versions of the page.

Link to this comparison view

faq:techies05 [2011/04/30 18:59] (current)
clemens created
Line 1: Line 1:
 +<​code>​
 +[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
 +</​code>​
 +
 +[[techies|back]]