Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confiforms: display age of page referenced in my form in TableView

Alexander Junkermann
Contributor
July 10, 2025

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?

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
July 10, 2025

May be something like 

page.currentDate.timestamp.subtract([entry.page.lastModificationDate.timestamp])

(that would be in milliseconds)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events