Server - DayTime

This page controls the DayTime server portion of Net Time Server & Client operation. In the page, you can change many of the settings that affect the DayTime server. To access this "Server - DayTime" page, select the "Server" item then select the "DayTime" item from the tree menu on the lef side of the "Main window".

Time zone

Specifies the time zone that is used by the DayTime server to generate the reply text.

Local

Check the box to use the local time zone that is set in your system.

Customization

Check the box to specify a customization time zone offset for the DayTime server.

Fromat

Specifies the format text that is used by the DayTime server to generate the reply text.

Predefined

Check the box to use one of the predefined format texts that they are listed in following table.

Format textExample
dddd, mmmm dd, yyyy hh:nn:ss iii Tuesday, February 03, 2009 21:07:09 PST
dddd, mmmm d, yyyy hh:nn:ss xxxx Tuesday, February 3, 2009 21:07:09 -0800
dddd, mmmm dd, yyyy hh:nn:ss xxxxx Tuesday, February 03, 2009 21:07:09 -08:00
dddd, mmmm dd, yyyy hh:nn:ss xxx Tuesday, February 03, 2009 21:07:09 -08
dd mmm yy hh:nn:ss iii03 Feb 09 21:07:21 PST
yyyy-mm-dd"T"hh:nn:ss2009-02-03T21:07:21
ddd, d, mmm yy hh:nn:ss xxxTue, 3 Feb 09 21:07:33 -08
ddd, d, mmm yy hh:nn:ss xTue, 3 Feb 09 21:07:33 U
ddd, d, mmm yy hh:nn:ss xxxx Tue, 3 Feb 09 21:07:33 -0800
ddd, d, mmm yyyy hh:nn:ss xxxx Tue, 3 Feb 2009 21:07:33 -0800
yyyy-mm-dd"T"hh:nn:ss.zzzxxxxx 2009-02-03T21:07:33.072-08:00
yyyy-mm-dd"T"hh:nn:ssx2009-02-03T21:07:33U
yyyy-mm-dd hh:nn:ss2009-02-03 21:07:33

Customization

Check the box to specify own format text. The following format specifiers are supported in the format text.

SpecifierDisplaysExamples
zDisplays the millisecond without a leading zero (0-999). 2, 192
zzzDisplays the millisecond with a leading zero (000-999). 002, 192
sDisplays the second without a leading zero (0-59). 2, 18
ssDisplays the second with a leading zero (00-59). 02, 18
nDisplays the minute without a leading zero (0-59). 5, 15
nnDisplays the minute with a leading zero (00-59). 05, 15
hDisplays the hour without a leading zero (0-23). 8, 21
hhDisplays the hour with a leading zero (00-23). 08, 21
dDisplays the day as a number without a leading zero (1-31).5, 27
ddDisplays the day as a number with a leading zero (01-31).05, 27
dddDisplays the day as an abbreviation in English (Sun-Sat).Sat, Mon
ddddDisplays the day as a full name in English (Sunday-Saturday).Saturday, Monday
mDisplays the month as a number without a leading zero (1-12). If the m specifier immediately follows an h or hh specifier, the minute rather than the month is displayed (Displays the minute without a leading zero).1, 12
mmDisplays the month as a number with a leading zero (01-12). If the mm specifier immediately follows an h or hh specifier, the minute rather than the month is displayed (Displays the minute with a leading zero).01, 12
mmmDisplays the month as an abbreviation in English (Jan-Dec).Jan, Dec
mmmmDisplays the month as a full name in English (January-December).January, December
yyDisplays the year as a two-digit number (00-99). 09
yyyyDisplays the year as a four-digit number (0000-9999). 2009
a/pUses the 12-hour clock for the preceding h or hh specifier, and displays 'a' for any hour before noon, and 'p' for any hour after noon. The a/p specifier can use lower, upper, or mixed case, and the result is displayed accordingly.A, P, a, p
am/pmUses the 12-hour clock for the preceding h or hh specifier, and displays 'am' for any hour before noon, and 'pm' for any hour after noon. The am/pm specifier can use lower, upper, or mixed case, and the result is displayed accordingly.am, PM, Am
'xx', "xxx"Characters enclosed in single or double quotes are displayed as-is, and do not affect formatting.xx, xxx
iiiDisplays the time zone as an abbreviation (CST, PST, etc.).CST, PST
xDisplays the time zone as a character (A-Z). A, H
xxDisplays the time zone offset as a two-digit signed number without a leading zero. It indicates the number of hours difference from Universal Time.+8, -24
xxxDisplays the time zone offset as a two-digit signed number with a leading zero. It indicates the number of hours difference from Universal Time.+08, -24
xxxxDisplays the time zone offset in the format "hhmm" with a leading sign. The first two digits indicate the number of hours difference from Universal Time, and the last two digits indicate the number of minutes difference from Universal Time.+0800, -2400
xxxxxDisplays the time zone offset in the format "hh:mm" with a leading sign. The first two digits indicate the number of hours difference from Universal Time, and the last two digits indicate the number of minutes difference from Universal Time.+08:00, -24:00
cDisplay the date and time in format "m/d/yyyy h:nn:ss AM/PM".11/21/2014 5:09:05 PM
j1Display the julian date.2456983.1723148
j2Display the chronological julian date.2456983.6723148
j3Display the modified julian date.56982.6723148
j4Display the reduced julian date.56983.1723148
j5Display the truncated julian date.16982.6723148
j6Display the dublin julian date.41963.1723148
j7Display the lilian date.157823.6723148
j8Display the rata date (day of the year with time).325.1723148
j-1Display the julian day number.2456983
j-2Display the chronological julian day number.2456983
j-3Display the modified julian day number.56982
j-4Display the reduced julian day number.56983
j-5Display the truncated julian day number.16982
j-6Display the dublin julian day number.41963
j-7Display the lilian day number.157823
j-8Display the rata day number (day of the year).325
\\Display a "\" character.\\
\xxDisplay a ASCII character by using its ASCII hexadecimal value.\0d

Sample reply text

Displays current sample reply text that is generated using current format setting and time zone setting in this page.

TCP

Checking the box allows the DayTime server listen for the DayTime TCP request from clients, and then reply the text of date and time to the client that made request.

Binding IP

Specifies the IP address that the DayTime server will use it to listen for the DayTime TCP request packet, and to send the DayTime TCP reply packet. Using the "0.0.0.0" binding IP address will bind to both of your network interface cards.

Listen port

Specifies the number of local TCP port that the DayTime server will use it to listen for the DayTime TCP request packet, and to send the DayTime TCP reply packet. By default, it's port 13.

Reply only when the server is synchronized

In general, the DayTime server will immediately reply to the client that made the DayTime TCP request. Checking the box causes the server to stop replying when the local system clcok is unsynchronized with an external time source by the client portion of the Net Time Server & Client. It avoids the inaccuracy reply that is sent from the DayTime server.

UDP

Checking the box allows the DayTime server listen for the DayTime UDP request from clients, and then reply the text of date and time to the client that made request.

Binding IP

Specifies the IP address that the DayTime server will use it to listen for the DayTime UDP request packet, and to send DayTime UDP reply packet. Using the "0.0.0.0" binding IP address will bind to both of your network interface cards.

Listen port

Specifies the number of local UDP port that the DayTime server will use it to listen for the DayTime UDP request packet, and to send the DayTime UDP reply packet. By default, it's port 13.

Reply only when the server is synchronized

In general, the DayTime server will immediately reply to the client that made the DayTime UDP request. Checking the box causes the server to stop replying when the local system clcok is unsynchronized with an external time source by the client portion of the Net Time Server & Client. It avoids the inaccuracy reply that is sent from the DayTime server.

Apply

With this button you will accept and save current configuration.

Cancel

With this button you will cancel current configuration and rollback to previous one.

Contents