.. _functx_mmddyyyy-to-date: ======================= functx:mmddyyyy-to-date ======================= Converts a string with format MMDDYYYY (with any delimiters) to a date Description ~~~~~~~~~~~ The functx:mmddyyyy-to-date function converts $dateString into a valid xs:date value. The order of the digits in $dateString must be MMDDYYYY, but it can contain any (or no) delimiters between the digits. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - dateString:string() - the MMDDYYYY string Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:mmddyyyy-to-date('12-15-2004') - 2004-12-15 * - functx:mmddyyyy-to-date('12152004') - 2004-12-15 * - functx:mmddyyyy-to-date('12/15/2004') - 2004-12-15