Hey all,
I want to show the 'last update' date in a table.
Therefore I created a user macro:
$action.dateFormatter.formatDateTime($content.getLastModificationDate())
This works, but now I want to format this date. I tried:
$action.dateFormatter.formatDateTime("dd-MMM-yyyy", $content.getLastModificationDate())
but this is not working. Any hints?
Thanks in advance.
Hi Christian,
this should work:
$action.dateFormatter.formatGivenString("dd-MMM-yyyy", $content.getLastModificationDate())
You're welcome, @Chris_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.