2.2.3.23 TimeSpanText Record (0xAE)

This structure represents attribute or element content.


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

Value

...

Value (8 bytes): A 64-bit signed integer value that specifies a duration in 100 nanosecond units. The values range from -10675199 days, 2 hours, 48 minutes, and 05.4775808 seconds to 10675199 days, 2 hours, 48 minutes, and 05.4775807 seconds.

This structure MUST be interpreted as representing the characters formed by converting the value as follows:

If the day part is non-zero and the fraction of a second part is zero, then the time MUST be interpreted as the following characters.

 DDDDDDDD.HH:mm:ss

Otherwise, if the day part is non-zero and the fraction of a second part is non-zero, the time MUST be interpreted as the following characters.

 DDDDDDDD.HH:mm:ss.fffffff

Otherwise, if the day part is zero and the fraction of a second part is zero, then the time MUST be interpreted as the following characters.

 HH:mm:ss

Otherwise, the time MUST be interpreted as the following characters.

            
 HH:mm:ss.fffffff

where:

  • DDDDDDDD is up to eight digits representing the number of days.

  • HH is the two-digit representation of the hour of the day starting at "00".

  • mm is the two-digit representation of the minute of the hour starting at "00".

  • ss is the two-digit representation of the second of the hour starting at "00".

  • fffffff is up to seven digits representing the fraction of the second. There MUST be no trailing zeros.

All other characters are included as shown.