title: XSL - Using DateTime Functions
body: <p>I have an XSL document which I am in the process of creating but when I try to use the DateTime functions specified here: <a href="http://www.w3schools.com/xpath/xpath_functions.asp" rel="nofollow">http://www.w3schools.com/xpath/xpath_functions.asp</a></p>
  
  <p>Such as <code>dateTime</code> or <code>year-from-dateTime</code> it says that they're unrecognised functions? </p>
  
  <p>Here are the namespaces Im using:</p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:xheader="http://schemas.microsoft.com/dynamics/2008/01/documents/Message"
      xmlns:xsales="http://schemas.microsoft.com/dynamics/2008/01/documents/SalesInvoice"
      exclude-result-prefixes="xheader xsales"
  &gt;
  </code></pre>
  
  <p>I'm currently creating the XSL in Visual Studio, if that helps?</p>