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 votes
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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,521 views 25 14
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