How do i get the PDF Export to include the current date

Can i customise the PDF exporter so that when it exports the pdf it exports with the date and time or at least date. So that I have a reference to that. 

1 answer

0 vote
Ann Worley Atlassian Team Jun 14, 2017

Yes, you may add a custom header or footer with the date to the PDF as described in Customize Exports to PDF

I noticed when I export to PDF using the custom export under Space Tools and choosing a page, the space export file name is the space key and then the date and time, for example: ds-140617-1445-26.pdf was space key ds, exported the 14th of the 6th month of '17 at 14:45 (or 2:45 PM).

Im not after the file name the file will need to be renamed as nobody will really understand what it means.

Im after the footer information.  I want to know which piece of CSS I need to add to the footter to add a date in the footer.  The customise Exports to PDF says you can use css for stuff, but not this exact piece of information. 

Ann Worley Atlassian Team Jun 19, 2017

CSS can't pull variables like the system time so we can't dynamically add the date in the stylesheet. There are several PDF exporter plugins on the Marketplace 

I tested Content Exporter (Word, PDF, HTML) and it does provide the date as an option to add to the footer.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

387 views 17 9
Join discussion

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