We have a form in which there is a field of type "Page/Blogpost" named "page".
I have managed to display the date of it's last modification in a Tableview using "page.lastModificationDate" als field name in the Confiforms Filed Macro within the Tableview.
I also have access to the current time for example by referencing to "page.currentDate".
But what I somehow do not get solved is to display the current age of the page, i.e. displaying the difference between these two values (or their respective timestamp values). ".subtract()" or "-" don't seem to work in this view. What is it I am missing? And - is there an easy way to display the age of each page?
May be something like
page.currentDate.timestamp.subtract([entry.page.lastModificationDate.timestamp])
(that would be in milliseconds)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.