Modules | Version: 1 Function Syntaxstring date:parse-date(string, string, string?)
The
The first argument to
The second argument is a string that gives the format pattern that has been used to format the date/time given as the first argument. The format pattern is interpreted according to the date format (declared by The result of applying the format pattern string to the date/time passed as the first argument is an interpreted date. This interpreted date is formatted as a right or left-truncated date/time strings in one of the formats defined in [XML Schema Part 2: Datatypes]. The permitted formats are as follows:
The interpreted date is formatted to the least specific format of the above as possible, providing that all the components specified for it is are represented within the result. If the interpreted date includes a year, then the format must be one of An implementation of this extension function in the EXSLT date namespace must conform to the behaviour described in this document. ImplementationsNo XSLT processors that we know of have built-in support for There are currently no third-party implementations of Change HistorySubmitted: 2001-05-12 |
http://www.exslt.org/date/functions/parse-date/date.parse-date.1.html last modified 2001-05-12