<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/fn.minutesFromDateTime.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>fn.minutesFromDateTime</api:function-name><api:suggest>fn.minutesfromdatetime</api:suggest><api:suggest>fn</api:suggest><api:suggest>minutesfromdatetime</api:suggest><api:function-link mode="xquery" fullname="fn:minutes-from-dateTime">/apidoc/8.0/fn:minutes-from-dateTime.xml</api:function-link><api:function mode="javascript" name="minutesFromDateTime" type="builtin" lib="fn" category="DurationDateTimeBuiltins" bucket="W3C-Standard Functions" hidden="false" prefix="fn" namespace="http://www.w3.org/2005/xpath-functions" fullname="fn.minutesFromDateTime"><api:summary>
<p xmlns="http://www.w3.org/1999/xhtml">Returns an xs:integer value between 0 and 59, both inclusive,
representing the minute component in 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:dateTime?"><api:param-description>
The dateTime whose minutes component 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>Number?</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
fn.minutesFromDateTime(
    xs.dateTime("1999-05-31T13:20:00-05:00"));
=&gt; 20
</pre>
</api:example><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
fn.minutesFromDateTime(
    xs.dateTime("1999-05-31T13:30:00+05:30"));
=&gt; 0
</pre>
</api:example></api:function></api:function-page>