It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Days Remaining till deadline in Confluence

Troy S Apr 14, 2012

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?

Thanks,

3 answers

1 accepted

Tristam Stone Jul 15, 2018

This page is link is now dead.

1 vote
Matthew Erickson Atlassian Team Apr 15, 2012

Hi Tory,

Does this deadline come from a sprint in Jira? If you are using Greenhopper then it already has a days remaining gadget: http://confluence.atlassian.com/display/GH/Using+the+Days+Remaining+Gadget

Troy S Apr 15, 2012

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.

0 votes
CelesteCS Mar 30, 2016

Hello,

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))".

Thanks!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,441 views 11 28
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you