Description
The fn:month-from-date function returns the month portion of an xs:date value, as an integer between 1 and 12 inclusive.
This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book. Arguments and Return TypeName | Type |
$arg |
xs:date? |
return value |
xs:integer? |
ExamplesXPath Example | Results |
---|
month-from-date(xs:date('2006-08-15')) |
8 |
See AlsoHistory |
Recommended Reading:
|