Khaled Asked: 2010-10-25 23:55:25 +0800 CST2010-10-25 23:55:25 +0800 CST 2010-10-25 23:55:25 +0800 CST Does NTP daemon set the host timezone? 772 If I am using NTP daemon or ntpdate command, do I need to worry about changing the timezone? Should I re-configure the timezone using cron job to guarantee the accuracy of the server time? I am using ubuntu server. linux ntp daemon ntpd 2 Answers Voted Best Answer Cakemox 2010-10-26T00:00:57+08:002010-10-26T00:00:57+08:00 You only need to set the time zone once: tzselect or dpkg-reconfigure tzdata NTP does not handle time zones. All time data handled by NTP is in UTC; your local time zone setting determines the offset from there. user9517 2010-10-26T00:34:22+08:002010-10-26T00:34:22+08:00 If your timezone is correctly set then you need to do nothing. To check your timezone have a look at the contents of the /etc/timezone file. cat /etc/timezone Europe/london Which is correct for my system. If your timezone is incorrect then use sudo dpkg-reconfigure tzdata to select and set your timezone. Once that is done you should be good till you move the system to another timezone (if ever). The NTP Daemon does not set the timezone.
You only need to set the time zone once:
or
NTP does not handle time zones. All time data handled by NTP is in UTC; your local time zone setting determines the offset from there.
If your timezone is correctly set then you need to do nothing. To check your timezone have a look at the contents of the
/etc/timezone
file.cat /etc/timezone
Europe/london
Which is correct for my system.
If your timezone is incorrect then use
sudo dpkg-reconfigure tzdata
to select and set your timezone. Once that is done you should be good till you move the system to another timezone (if ever).
The NTP Daemon does not set the timezone.