In XSLT 2.0 you can try to match the parts of the date with a regular expression using xsl:analyze-string. In 1.0, thre's no short cut, you just have to do it by hand using substring-before, etc.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference