.. _month-from-date: =============== month-from-date =============== The month portion of a date Description ~~~~~~~~~~~ The fn:month-from-date function returns the month portion of an xs:date value, as an integer between 1 and 12 inclusive. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg:date() - Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - month-from-date(xs:date('2006-08-15')) - 8 See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`month-from-dateTime`. * :ref:`functx_month-abbrev-en`. * :ref:`functx_month-name-en`.