Is there a way to get the parts of the date either with Ditto or modx?
I want to stack the date pieces (Y, M, d) and possibly have a long format or something.
Thanks
Rich
Hi,
upgrade the ditto snippet to 1.1.2
This version supports PHx so you can format the date in your tpl as follow
[+createdon:date=`%d %m %Y`+]
You will find more info about PHx in the wiki.
:-)
Where do you get version 1.1.2 for Ditto? I only see 1.0.2 in the repository. I’d like to be able to modify the format of the date as well. Thanks!