gib65 Posted March 12, 2014 Share Posted March 12, 2014 Hello, I'm brand new to XSL and I have a newbie question: I'm trying to convert a value to a date. The format needs to be DD-MM-YYYY. I found this website that says I can use format-date(). But I get a compiler error: 'format-date() is an unknown XSLT function. Obviously, I need to import some library that contains the format-date() function, but I don't know how to do that. This is probably important too. The line I have that calls format-date() is: <xsl:value-of select="format-date(PCR/VW_PI_PATIENTCONTACTS[@PERSONTYPEID=3]/@DOBDATE, 'DD-MM-YYYY')"/> Can anyone help me please? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now