http://onionworks.net/2004/renderengine/utility

parseDate (date : string, culture : string) : datetime

The method “parseDate” converts a date into an xml-conform format. The parameter “date” describes the date to be converted, whilst “culture” describes the usual date format of a country (e.g. de, at or en).

<xsl:value-of select="util:parseDate('1. November 2006', 'de')" />
<xsl:value-of select="util:parseDate('01.11.2006', 'de')" />
Conversion of a date into xml format

Converts a transferred date into an xml-compliant format.

Output in both cases:
2006-11-01T00:00:00.0000000+01:00