Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
Umbraco Contour version 3.0.17
umbraco v 4.11.10
I have a form with a datepicker.
To send through a aslt transformed email, i use this to get the value.
<xsl:value-of select="$records//fields/child::* [caption[1] = 'Date']//value"/>
I get this value: 1/1/2014 12:00:00 AM
I only want to get it to show: 1/1/2014
I have tryed a lot with something like this, but i cant see to get it right..
<xsl:value-of select="$records//fields/child::*([caption[1] = 'Date']//value, 'dd\/MM\/yyyy')"/>
I can answer my question my self :-)
<xsl:value-of select="umbraco.library:FormatDateTime($records//fields/child::* [caption[1] = 'Date']//value, 'd MMMM, yyyy')"/>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
XSLT Transformed email - Date format
Hi
Umbraco Contour version 3.0.17
umbraco v 4.11.10
I have a form with a datepicker.
To send through a aslt transformed email, i use this to get the value.
<xsl:value-of select="$records//fields/child::* [caption[1] = 'Date']//value"/>
I get this value: 1/1/2014 12:00:00 AM
I only want to get it to show: 1/1/2014
I have tryed a lot with something like this, but i cant see to get it right..
Hi
I can answer my question my self :-)
is working on a reply...