.. _functx_next-day: =============== functx:next-day =============== The next day Description ~~~~~~~~~~~ The functx:next-day function takes a date and returns a date representing the following day. The $date argument must be castable to xs:date, meaning that it must have the type xs:date or xs:dateTime, or be an xs:string or untyped value of the form YYYY-MM-DD. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - date:date() - the date Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:next-day(xs:date('2004-01-23')) - 2004-01-24 * - functx:next-day(xs:dateTime('2005-12-31T12:00:13')) - 2006-01-01 See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_previous-day`.