Template:FAQ/Questions/set accurate time

How can the timezone be set on a gumstix to GMT?
The time that linux maintains is actually maintained in UTC (aka GMT). Each process can set their notion of localtime by using the TZ environment variable.

A program can access the GMT time by using the gmtime function and can access the local time by using the localtime function.

It looks like uClibc also makes use of the /etc/TZ file if no environment variable is set. So you can set the default timezone by changing /etc/TZ and users can override that using the TZ environment variable.

Some helpful links: timezones and TZ Variable.