time data type
The xs:time data type represents an instant of time that recurs every day. Derived from data type xdt:anyAtomicType.
The lexical form of xs:time is hh:mm:ss.sssssszzzzzz
.
This form is a truncated representation of xs:dateTime that does not
include the year, day, or month properties. The following abbreviations
describe this form:
- hh
- A 2-digit numeral that represents the hour. A value of 24 is allowed only when the minutes and seconds that are represented are zero. A query that includes the time of 24:00:00 is treated as 00:00:00 of the next day.
- :
- A separator between parts of the time portion.
- mm
- A 2-digit numeral that represents the minute.
- ss
- A 2-digit numeral that represents the whole seconds.
- .ssssss
- Optional. If present, a 1-to-6 digit numeral that represents the fractional seconds.
- zzzzzz
- Optional. If present, represents the timezone. See Timezone indicator for more information about the format for this property.
For example, the following form, which includes
an optional timezone indicator, represents 1:20 pm Eastern Standard
Time, which is 5 hours earlier than Coordinated Universal Time (UTC):
13:20:00-05:00