Thank you for your reply.
I’ve installed PHx, but formatting the date like you suggest gives this error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’:input=`[+lastlogin FROM `database`.`modx_web_user_attributes` wua JOIN `database`’ at line 1 »
SQL: SELECT wua.fullname,wua.phx:input=`[+lastlogin FROM `database`.`modx_web_user_attributes` wua JOIN `database`.`modx_web_groups` wg ON wg.webuser = wua.internalKey JOIN `database`.`modx_webgroup_names` wgn ON wgn.name = ’webdesigners’ AND wgn.id = wg.webgroup ORDER BY wua.fullname ASC
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0057 s (11 Requests)
PHP: 0.0503 s
Total: 0.0560 s
I also tried [+lastlogin:date=`%d-%m-%Y`+] but that also returns an error like this one.
I already looked into the code of the snippet itself, but I don’t know where and how to format the date.
Anyone a suggestion how to solve this?