Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Need some help with diaplying the current date in footer

I have defined a PDF stylesheet for a space i would like to include the current date in the footer whenever i print the page. I used the @bottom-left { to define the footer. Is there a function to print date in the footer.

1 answer

1 accepted

0 votes
Answer accepted

Hi Karthik, 

By default, Confluence doesn't have this option, but it can be done through macros. 

Steven posted this answer in 2014 at you can try, but be aware it may no longer work. 

There are also other topics about "displaying the current date" in the below questions:

In the third post, @Matthew J. Horn wrote:

You can use the dateFormatter's formatGivenString() method to specify a format:

$action.dateFormatter.formatGivenString("dd-MMM-yyyy", $some_date)

Hope this helps!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

193 views 1 6
Read article

Atlassian Community Events