Forums

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

Find difference between last modified date and current date in velocity template in confluence

Nallusamy Narayanaswamy
Contributor
April 6, 2022

Hi

I am writing user macro in confluence and want to find difference between no.of days between last modified date and current date.

Could someone please help me how to do it in velocity template.

 

Thanks 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2022

Hi @Nallusamy Narayanaswamy 

First thing, I am using Jira Cloud and cannot verify the following...

My understanding is those user macros are based on JQL,  which out-of-the-box cannot perform such operations.  Perhaps if you have one of the marketplace addons for JQL which supports calculated fields it is possible.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer