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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...