1

I want to print date like

Tuesday,17 February,2015

I tried somethings that print dates like

Tuesday,17 February 2015
Tuesday, February 17, 2015

What I tried is:

enter image description here

How can I print date like Tuesday,5 April,2016?

2 Answers 2

3

I resolved this issue by making changes in date format as below

<xsl:value-of select="ddwrt:FormatDateTime(string(@EventDate),3081,'dddd,d MMMM,yyyy')"/>
1

You can use below mentioned line to get your desired output.

<xsl:value-of select="ddwrt:FormatDateTime(string(@EventDate), 1033, 'dddd, mmmm d, yyyy')" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.