2.5.9.2.1 RAP TimeOfDayInfo Data Structure

The data section of the response to a NetRemoteTOD command MUST be as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

TimeSinceJan11970

TimeSinceBoot

Hours

Minutes

Seconds

Hundreds

TimeZone

ClockFrequency

Day

Month

Year

Weekday

TimeSinceJan11970 (4 bytes): A 32-bit unsigned integer that MUST be the number of seconds since midnight January 1, 1970, Coordinated Universal Time (UTC).

TimeSinceBoot (4 bytes): A 32-bit unsigned integer that specifies the time, in milliseconds, since computer system reset.

Hours (1 byte): An 8-bit unsigned integer that specifies the current hour of the day in the server's local time zone. Valid values are from 0x00 to 0x17, inclusive.

Minutes (1 byte): An 8-bit unsigned integer that specifies the current minute in the server's local time zone. Valid values are from 0x00 to 0x3B, inclusive.

Seconds (1 byte): An 8-bit unsigned integer that specifies the current second in the server's local time zone. Valid values are from 0x00 to 0x3B, inclusive.

Hundreds (1 byte): An 8-bit unsigned integer that specifies the hundredth of a second in the server's local time zone. Valid values are from 0x00 to 0x63, inclusive.

TimeZone (2 bytes): A 16-bit integer that specifies the time zone of the server. This value is represented in minutes from UTC. For time zones west of UTC, the value is positive; for time zones east of UTC, the value is negative.

ClockFrequency (2 bytes): A 16-bit unsigned integer that specifies the resolution of the clock in 1/10,000 of a second (0.0001 second).<50>

Day (1 byte): An 8-bit unsigned integer that specifies the day of the month. Valid values are from 0x01 to 0x1F, inclusive.

Month (1 byte): An 8-bit unsigned integer that specifies the month of the year. Valid values are from 0x01 to 0x0C, inclusive.

Year (2 bytes): A 16-bit unsigned integer that specifies the current year in the server's local time zone.

Weekday (1 byte): An 8-bit unsigned integer that specifies the day of the week. Valid values are from 0x00 to 0x06, inclusive, in which 0x00 is Sunday, 0x01 is Monday, and so on.