MarkLogic Server 11.0 Product Documentation
xdmp.monthNameFromDate

xdmp.monthNameFromDate(
   arg as Date?
) as String?

Summary

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

If $arg is an empty sequence or null, returns null.

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

Example

xdmp.monthNameFromDate(xs.date("1999-05-31"));
=>
May

Example

xdmp.monthNameFromDate(xs.date("2000-01-01"));
=>
January
Powered by MarkLogic Server | Terms of Use | Privacy Policy