Get Number of Days Since Published

How can I display the number of days since a document was published, in a chunk used by getresources. i.e. ‘Posted 4 days ago’

There is an output filter ago that maybe does what you need.


Otherwise you could write you own custom output modifier and maybe use some of the code of the ago modifier.

1 Like

The output filter is perfect thank you!

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.