Casts values to date format.
Syntax
date(date-value)
Parameters
- date-value
- String representation of a date in the format "mm-dd-yy" or in the ISO date formats supported by XML data types.
Remarks
The parameter can either be a string literal or an XSL pattern. For example, date("1-1-99") casts "1-1-99" to a date; date(a/b) casts b's within a's to dates.
See Also