FreeBSD and time zones
FreeBSD support various time zones. To see all available time zones you can inspect /usr/share/zoneinfo
directory contents. To change time zone you need to copy the time zone file to /etc/localtime
.
For example, to set the local time zone to UTC you can use the following command:
cp /usr/share/zoneinfo/UTC /etc/localtime
And date
command will show what time zone is used:
# date
Mon Sep 29 10:14:20 UTC 2014
comments powered by Disqus