We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36571
    • 145 Posts
    Hey there,

    Is there a quick and easy way to output the date string returned by [*createdon*] to a normal date format. I guess I have to use a strftime fuction somewhere, but not exactly sure how/where to implement it.

    Any help would be mightly appreciated.

    Cheers.
      • 21496
      • 225 Posts
      nightsignals Reply #2, 19 years ago
      You can install PHx and use something like this: [*createdon:date=`%d.%m.%Y`*]

      http://wiki.modxcms.com/index.php/PHx
        René
        • 36571
        • 145 Posts
        Cheers for that.

        I’ll give it a try.