Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Jun 13, 2010 @ 11:23
    Kalle Ekstrand
    0

    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

  • Tommy Poulsen 514 posts 708 karma points
    Jun 13, 2010 @ 12:34
    Tommy Poulsen
    0

    Hi Kalle you use FormatDate, e.g. like this (for the date contained in $mydate):

    umbraco.library:FormatDateTime($mydate, 'MMMM')

    >Tommy

  • Dan 1288 posts 3942 karma points c-trib
    Jun 13, 2010 @ 14:42
  • Chris Koiak 700 posts 2626 karma points
    Jun 13, 2010 @ 15:41
    Chris Koiak
    0

    Hi Kalle,

    You can use any of the standard month codes, so MMMM would output the full month name.

    Cheers,

    Chris

  • Kalle Ekstrand 181 posts 259 karma points c-trib
    Aug 04, 2010 @ 10:46
    Kalle Ekstrand
    0

    Perfect!

  • 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.

Please Sign in or register to post replies