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
Hello,
How do you format the date to display the full month instead of the month number?
Is this possible?
<
property alias="MonthFormat">Month</property>
//Kalle
Hi Kalle you use FormatDate, e.g. like this (for the date contained in $mydate):
umbraco.library:FormatDateTime($mydate, 'MMMM')
>Tommy
This might be a handy reference Kalle: http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime
Hi Kalle,
You can use any of the standard month codes, so MMMM would output the full month name.
Cheers,
Chris
Perfect!
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
MonthFormat?
Hello,
How do you format the date to display the full month instead of the month number?
Is this possible?
<
property alias="MonthFormat">Month</property>
//Kalle
Hi Kalle you use FormatDate, e.g. like this (for the date contained in $mydate):
umbraco.library:FormatDateTime($mydate, 'MMMM')
>Tommy
This might be a handy reference Kalle: http://en.wikibooks.org/wiki/Umbraco/Reference/umbraco.library/FormatDateTime
Hi Kalle,
You can use any of the standard month codes, so MMMM would output the full month name.
Cheers,
Chris
Perfect!
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.