Export (0) Print
Expand All

Appendix E: Format of the Daytime Service Response String

Updated: July 6, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

RFC 867 does not specify the format of the response sent by the daytime service. For Windows 2000 and Windows Server 2003, the daytime service sends an ASCII text string containing the current system time and date formatted in a single line as follows:

TimeString DateString

with a single ASCII space character separating the time (TimeString) and date (DateString) components. Each of these components is formatted according to the default format for the selected locale of the computer. For example, the default format for “English (United States)” is:

TimeString = h:mm:ss tt

DateString = m/dd/yyyy

in which tt is either "AM" or "PM".

Here is example output for the English (United States) locale:

10:23:16 AM 4/11/2003

The default formats for the date and time for any locale may be viewed or configured from Control Panel-Regional Options (for Windows 2000) or Control Panel-Regional and Language Options (for Windows Server 2003).

There is no ability to change the format of the daytime service ASCII text string.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft