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, O'Reilly Media. 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 Type| Name | Type |
$arg |
xs:date? |
| return value |
xs:integer? |
Examples| XSLT Example | Results |
|---|
month-from-date(xs:date('2006-08-15'))
|
8
|
See AlsoHistory |
|