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
Just like this:
Use substring and concat xslt functions Petr
[quote=Petr Snobelt]Use substring and concat xslt functions Petr[/quote] There is a FormatDate function in the umbraco library Usage : [code] umbraco.library:FormatDateTime(data[@alias='date'], 'dd-MM-yyyy HH:mm') [/code]
I try to find out this function, but it's not included in umbraco apidocs.
http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime
[quote=sun]I try to find out this function, but it's not included in umbraco apidocs.[/quote] Yes it is : http://www.umbraco.org/apiDocs/html/Mumbracolibrary_FormatDateTime.htm
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How to format date by using xslt?
Just like this:
Use substring and concat xslt functions
Petr
[quote=Petr Snobelt]Use substring and concat xslt functions
Petr[/quote]
There is a FormatDate function in the umbraco library
Usage :
[code]
umbraco.library:FormatDateTime(data[@alias='date'], 'dd-MM-yyyy HH:mm')
[/code]
I try to find out this function, but it's not included in umbraco apidocs.
http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime
[quote=sun]I try to find out this function, but it's not included in umbraco apidocs.[/quote]
Yes it is :
http://www.umbraco.org/apiDocs/html/Mumbracolibrary_FormatDateTime.htm
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.