Set Timezone in FreeBSD

by kkikta 1. April 2009 00:32

The other day I noticed my custom made router's time was off by an hour when i ran the following command.

# date
Thu Mar  30 18:20:33 CST 2009

Immeadiately I realized I had the wrong timezone set as I generally use the Chicago timezone which displays as CDT. To fix this I copied the correct timezone into local time with the following command.

# cp /usr/share/zoneinfo/America/Chicago /etc/localtime

Now when I run the date command it displays the correct date time.

Tags:

FreeBSD | General

Month List

Page List