# Configure Server Date and Time

You can configure the date and time

- manually, or

- by configuring the server to obtain the date and time from a Network Time Server on the internet. A network time server communicates the time to other computers over the Internet using Network Time Protocol (NTP).

To set your date and time manually:

1. Under Configuration, click Date and Time.

2. Click Set System Time Zone and select your time zone from the list.

3. Enter the date and time in the fields provided.

4. Select Enable System Clock Adjustment to adjust the rate at which the system clock gains time to closely approximate the host's real time clock. Use this option if you observe the system gaining or losing time in relation to the real time clock and you are not able to use the Network Time Server option.

5. Select Enable Network Time Server to instruct the server to periodically synchronize the system clock to a network time protocol (NTP) server. If you select this option, enter the hostname or IP address of the NTP server in the field provided.

6. Click Save.

To obtain the date and time from a Network Time Server:

1. Click Enable Network Time Server.

2. Enter the hostname or IP address of a Network Time Server.

3. Click Save.

Note: For more information about using a network time server, visit http://www.ntp.org/. You can also find a list of publicly available time servers at http://www.eecis.udel.edu/~mills/ntp/servers.html. You should always use a secondary time server (also called a stratum 2 server) to lighten the load on the primary time servers.

To verify that your network time protocol server is set up properly:

1. After you have saved the hostname or IP address of a new Network Time Server, click the Query button. Clicking the Query button issues the ntpq -c peers Linux command.

2. The command results are displayed for the NTP server (or for a list of servers if a pool is referenced by the specified hostname or IP address).

3. After a few minutes, press Query again. An * appears in front of one of the NTP servers. The * indicates that the system time is being synchronized with that NTP server.
   The following table provides the meaning of the command output:

Command output | Meaning
remote | The hostnames or IP addresses of the remote NTP servers to which the system can be synchronized (based on the pool of available NTP servers). The character that precedes the hostname or IP address indicates the following:
* | The system time is being synchronized with the NTP server.
# | The host is selected for synchronization, but distance from the host to the server exceeds the maximum value.
o | The host is selected for synchronization, and the PPS signal is in use.
+ | The host included in the final synchronization selection set.
x | The host is the designated false ticker by the intersection algorithm.
. | The host is selected from the end of the candidate list.
- | A host discarded by the clustering algorithm.
blank | Indicates a host is discarded due to high stratum and/or failed sanity checks.
refid |  | The current source of the synchronization for the remote host.
st |  | The stratum used by the remote host. The lower the number, the closer you are to the time source. Stratum 16 indicates that the system is not synchronised with a time server.
t |  | The type of clock used on the NTP server (L stands for local clock; u for an Internet clock).
when |  | The number of seconds since the last poll.
poll |  | The number of seconds between NTP transactions. When this time expires, the NTP daemon polls the remote time server. The polling results are displayed in the "reach" field.
reach |  | The status of the last eight NTP transactions, with each transaction represented by a colored letter. The letter "Y" in green indicates that a response was successfully received from the remote time server. The letter "X" in red indicates that a response was not received. Since this field is a circular log buffer, it is continually refreshed, with the most recent result on the right and the oldest on the left. Example: If the field contains XXXXXX YY, the two most recent NTP transactions have been successful while the previous six have failed.
delay |  | Indicates the time, in milliseconds, between an NTP request and the answer.
offset |  | The difference in milliseconds between the time on your local computer and that on the NTP server.
Jitter |  | The error rate in your local clock, expressed in milliseconds.

To switch from a Network Time Server to a manual time zone configuration:

1. Click Disable Network Time Server and then click Save.

2. Select your time zone.

3. Enter the date and time in the fields provided.

4. Click Save.

Note: A reboot may be required to update any running applications with new date/time information.