EDN Admin
Well-known member
I really hope Im at the right place to ask this question, and that i will get an answer / workaround.
<br/>
I have a really really weird problem with the ms:format-date function.
I have an XML-document which was generated from a Typed DataSet containing a datetime column.
<br/>
<br/>
When i transform the XML without using the function i get 2009-12-14T00:00:00+01:00
code: <xsl:value-of select="DatePrestation"/>
<br/>
When i use the function it returns 13-12-2009 .... It just substracts 1 day.
code: <xsl:value-of select="ms:format-date(DatePrestation, dd/MM/yyyy)"/>
<br/>
<br/>
How do i get 14-12-2009 to be displayed?
<br/>
Im using Visual Studio 2005 so i can only use <span style="font-family:Verdana, Arial, sans-serif;font-size:13px;line-height:22px XPath1.0/XSLT 1.0 functions
<span style="color:#008000 <br/>
View the full article
<br/>
I have a really really weird problem with the ms:format-date function.
I have an XML-document which was generated from a Typed DataSet containing a datetime column.
<br/>
<br/>
When i transform the XML without using the function i get 2009-12-14T00:00:00+01:00
code: <xsl:value-of select="DatePrestation"/>
<br/>
When i use the function it returns 13-12-2009 .... It just substracts 1 day.
code: <xsl:value-of select="ms:format-date(DatePrestation, dd/MM/yyyy)"/>
<br/>
<br/>
How do i get 14-12-2009 to be displayed?
<br/>
Im using Visual Studio 2005 so i can only use <span style="font-family:Verdana, Arial, sans-serif;font-size:13px;line-height:22px XPath1.0/XSLT 1.0 functions
<span style="color:#008000 <br/>
View the full article