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

This widget could not be displayed.
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 Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

607 views 8 6
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