Days Remaining till deadline in Confluence

I need to display the number of day until a deadline on the main page of a project. I figured out how to get the current date/time with:

Today: {report-info:global:current date|format=EEEE, MMMM dd, yyyy h:mm a}
Deadline: August 30, 2012
Days Remaining:  ?

But how do I set a variable for the Deadline?

How would I evaluate the Days Remaining till the Deadline?


3 answers

1 accepted

This page is link is now dead.

1 vote

Hi Tory,

Does this deadline come from a sprint in Jira? If you are using Greenhopper then it already has a days remaining gadget:

Thanks for you help Matthew. In this case, I am not using JIRA to track this project. This project is to track that all employees have completed a short online awareness course. So in this case the days to deadline is how many days we have until everyone has to complete the course. Thanks again.


We have added Date type support to CelesteCS Math macro so you may use our macro to accomplish what you want. Just specify the EXCEL-style formula, like "DAYS(NOW(), DATE(2016, 04,17))".


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,137 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you