gDay data type
The xs:gDay data type represents a Gregorian day that recurs. Gregorian calendar days are defined in ISO 8601. Derived from data type xdt:anyAtomicType.
This data type represents a specific day of the month. For example, this data type might be used to indicate that payday is the 15th of each month.
The lexical form of xs:gDay is ---ddzzzzzz,
which is a truncated representation of xs:date that does not include
the month or year properties. No preceding sign is allowed. No other
formats are allowed. The following abbreviations describe this form:
- dd
- A 2-digit numeral that represents the day.
- zzzzzz
- Optional. If present, represents the timezone. See Timezone indicator for more information about the format for this property.
For example, the following form indicates the
sixteenth of the month, which is a day that recurs every month:
---16