Description
The fn:month-from-dateTime function returns the month portion of an xs:dateTime 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:dateTime? |
return value |
xs:integer? |
ExamplesXPath Example | Results |
---|
month-from-dateTime(
xs:dateTime('2006-08-15T10:30:23')) |
8 |
See AlsoHistory |
Recommended Reading: 
|