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
Shouldn't these two lines give the same date?
<xsl:value-of select="umbraco.library:FormatDateTime(@updateDate, 'd. MMMM yyyy HH:MM')"/>
<umbraco:Item field="updateDate" formatAsDateWithTime="true" formatAsDateWithTimeSeparator=" " runat="server"></umbraco:Item>
I get two different time stamps for each of these, often varying in 10-15 minutes. The same goes for @createDate. Any ideas?
(I'm on Umbraco 4)
Nevermind :-)
I noticed that I'd used HH:MM instead of hh:mm, so I changed it to this:
<xsl:value-of select="umbraco.library:FormatDateTime(@updateDate, 'd. MMMM yyyy HH:mm')"/>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
@createDate/@updateDate on article template not being consistent
Shouldn't these two lines give the same date?
<xsl:value-of select="umbraco.library:FormatDateTime(@updateDate, 'd. MMMM yyyy HH:MM')"/>
<umbraco:Item field="updateDate" formatAsDateWithTime="true" formatAsDateWithTimeSeparator=" " runat="server"></umbraco:Item>
I get two different time stamps for each of these, often varying in 10-15 minutes. The same goes for @createDate. Any ideas?
(I'm on Umbraco 4)
Nevermind :-)
I noticed that I'd used HH:MM instead of hh:mm, so I changed it to this:
<xsl:value-of select="umbraco.library:FormatDateTime(@updateDate, 'd. MMMM yyyy HH:mm')"/>
is working on a reply...