How to convert date format in xslt. I have created application as shown below
I used xml :
2015-01-06T17:51:01.67+05:30
My xslt file :
select="format-dateTime(TravellerRequest/RequestDate,'[M01]/[D01]/[Y0001]')"/>
in html page getting error :
Exception Details: System.Xml.Xsl.XsltException: 'format-dateTime()' is an unknown XSLT function.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I need output like this: 01/06/2015
How to convert the above datetime format into mm/dd/yyyy.
plz guide me.
Thanks, Ram...
{}button to format it as code to make it readable. Alternatively, just put 4 spaces before each line of code (as that is what the{}button does). Thank you. - Tim C