<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.monthNameFromDate.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.monthNameFromDate</api:function-name><api:suggest>xdmp.monthnamefromdate</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>monthnamefromdate</api:suggest><api:function-link mode="xquery" fullname="xdmp:month-name-from-date">/apidoc/8.0/xdmp:month-name-from-date.xml</api:function-link><api:function mode="javascript" name="monthNameFromDate" type="builtin" lib="xdmp" category="DurationDateTimeBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.monthNameFromDate"><api:summary>
<p xmlns="http://www.w3.org/1999/xhtml">Returns month name, calculated from the localized value of $arg.
</p><p xmlns="http://www.w3.org/1999/xhtml">
If $arg is the empty sequence, returns the empty sequence.
</p>
</api:summary><api:params><api:param name="arg" type="xs:date?"><api:param-description>
The date whose month-name will be returned.
  </api:param-description><api:param-name>arg</api:param-name><api:param-type>Date?</api:param-type></api:param></api:params><api:return>String?</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.monthNameFromDate(xs.date("1999-05-31"));
=&gt;
May
</pre>
</api:example><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.monthNameFromDate(xs.date("2000-01-01"));
=&gt;
January
</pre>
</api:example></api:function></api:function-page>