Formatting Dates

XPath 2.0 adds date, time, and duration types. XSLT 2.0 provides format-date to format them for presentation.

  • xsl:date-format

  • format-date()

This is analagous to xsl:number-format and format-number().