format-date
Posted: Tue Jan 15, 2019 5:23 pm
Hello
I have created a 1.0 stylesheet but i need the IssueDate to be in the form of YYYY-MM-DD. Now it is YYYYMMDD.
I have tried using
but it doesent work.
Anyone who knows what to do?
Thank you in advance.
I have created a 1.0 stylesheet but i need the IssueDate to be in the form of YYYY-MM-DD. Now it is YYYYMMDD.
I have tried using
Code: Select all
<xsl:template match="IssueDate">
<td>
<xsl:value-of select="format-date(.,'[Y0001]-[M01]-[D01]')"/>
</td>
</xsl:template>
Anyone who knows what to do?
Thank you in advance.