month-from-date
The month portion of a date
Description
The fn:month-from-date function returns the month portion of an xs:date value, as an integer between 1 and 12 inclusive.
Parameters |
Description |
---|---|
arg:date() |
Examples
XPath |
Results |
---|---|
month-from-date(xs:date(‘2006-08-15’)) |
8 |