Saxonica.com

fn:month-from-date

fn:month-from-date( date? $srcval) → integer?

Function signature

$srcval

xs:date ?

Result

xs:integer ?

Extracts the month component of a date value

XPath 2.0 Specification

Next