Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to get current date into confluence page pdf export?

How to get current date into confluence page pdf export?

3 answers

Hi @Tansu Akdeniz ,

Thank you for your responses

already I have seen above link it's not working for date

0 votes
Tarun Sapra Community Leader Apr 26, 2019

Hello @Vaibhav kamble 

Did you try the solution listed here

https://community.atlassian.com/t5/Confluence-questions/Insert-Date-on-PDF-Export/qaq-p/672130

Could you please share in more detail as to what is not working and share the screenshot of your current implementation

Hi @Tarun Sapra 

I have attached pdf page screenshot pdf export date.png

Tarun Sapra Community Leader Apr 29, 2019

Hello @Vaibhav kamble 

Please go through this link

https://confluence.atlassian.com/confkb/how-to-create-a-page-break-function-in-confluence-to-control-pagination-in-pdf-exports-735943076.html

Using above user macro you can set custom page break on pdf export and wherever you use this macro you can then also the use custom "current date" macro.

Hence by combination of the 2 macros you should be able to achieve current data and the page breaks.

Hi @Tarun Sapra ,

This is correct but I have created CSS 

  1. @bottom-left  
  2.     {  
  3.          content: "Effective Date": ;   
  4.           font-size: 5pt;  
  5.      }  

also we tried access macro in to css like {current date } still its not working

Tarun Sapra Community Leader Apr 29, 2019

Hello @Vaibhav kamble 

Why are you trying to access the macro in css?

Both macros should be used only on the confluence page.

{current date}

{pagebreak}

like that

Hi @Tarun Sapra ,

I have exported a single pdf file so when we export single pdf we add header and footer for a single page export pdf.

In the footer section, I want the date the built-in header footer not working for single page pdf export that the reason I used pdf css.

 

  

Like Tarun Sapra likes this
Tarun Sapra Community Leader Apr 30, 2019

Hello @Vaibhav kamble 

But now , is it working for multiple pdf pages with the css?

hi @Tarun Sapra 

This is not({current date}{pagebreak}) working into pdf export.

It's working into page edit 

I'm horrified that this isn't included in the the standard cloud product, with a simple "/date" thing.   Why do we have to mess around creating macros etc...?   grrr.... 

right, must go and suggest this in the right place.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

59 views 0 3
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