FreeGuide

FAQ »

# Setting The TZ Environment Variable

- View

- Home Page
- Download And Install
- User Guide
- Help And FAQ
- Developers
- Credits
- Screenshots
- Links
- Site Map
- Contact Us

# Setting the TZ environment variable

If FreeGuide is completely wrong about the time, you want the Change Time Zone page.

If FreeGuide is right about the time (clicking the Go to now button scrolls to the correct time), but your listings are showing programmes at the wrong time, it's probably because the XMLTV grabber you are using is confused about your time zone. You can fix this by setting the TZ environment variable.

First you will need to find out the name of your time zone. This site might help: http://www.timezoneconverter.com/cgi-bin/findzone/findzone.tzc. Examples are "Europe/London", "US/Pacific", "Africa/Algiers".

Now, setting the environment variable is different on different operating systems:

### Linux, FreeBSD, etc.

Edit the file ".bashrc" in your home directory, and add a line like this:

`export TZ=Europe/Paris`

(Except replace "Europe/Paris" with your time zone name.)

Now when you log out and log in again, and re-download your listings, they should have the correct time. If not, please Contact Us and we'll try to work out why not.

### Windows

- Click the Start button, then Control Panel, then double-click on System.
- Choose the Advanced tab, and click Environment Variables.

If you would like to help improve this site, please Contact Us and we will give you the password to edit pages.
Page last modified on August 10, 2009, at 06:55 AM PmWiki Info | - - - () -