MarkLogic 9 Product Documentation
xdmp:month-name-from-date

xdmp:month-name-from-date(
   $arg as xs:date?
) as xs:string?

Summary

Returns month name, calculated from the localized value of $arg.

If $arg is an empty sequence, returns the empty sequence.

Parameters
arg The date whose month-name will be returned.

Example

xdmp:month-name-from-date(xs:date("1999-05-31"))
=>
May

Example

xdmp:month-name-from-date(xs:date("2000-01-01"))
=>
January
Powered by MarkLogic Server | Terms of Use | Privacy Policy