roberts


Group: Members
Posts: 4983
Joined: Oct. 2003 |
 |
Posted: Nov. 05 2007,15:34 |
 |
Quote (danielp @ Nov. 05 2007,05:19) | Just found this thread; interesting! When you do sudo /usr/local/bin/gettime.lua you get the time back in UTC format. Is there a way to make a script to change the PC's time as well? Where is the timezone saved? |
The timezones supported in DSL can be found in /usr/share/zoneinfo To use local time just boot with the tz boot option set to a supported timezone. For example, I use
tz=US/Pacific
Combing this boot option and the gettime.lua you will have accurate local time set.
Edited by roberts on Nov. 05 2007,15:35
|