Support Community
Showing results for 
Search instead for 
Do you mean 
Reply
New Member
Posts: 2
Registered: ‎01-17-2018

Date Variable

Hello there!

 

We are in need of using a variable to gather only the date. I've seen the $FFtimeStamp$ variable, but this also generates the current time. Is there a way to create a watermark with only the current date?

 

Thank you in advance!

FreeFlow Production Workflow Moderator
Posts: 81
Registered: ‎09-30-2013

Re: Date Variable

Not at this time. The only variable that will gather the date is $FFtimeStamp$, as you've identified. As reminder, you may view a list of all currently supported Job Variables in the Appendix of the FreeFlow Core online Help, or in the PDF version available in the Support & Drivers section on Xerox.com. 

New Member
Posts: 2
Registered: ‎01-17-2018

Re: Date Variable

So, there is no other way to only generate the date?

 

Even outside using a variable?

Highlighted
FreeFlow Production Workflow Moderator
Posts: 72
Registered: ‎02-13-2017

Re: Date Variable

Here is an idea ( a bit kludgy).

 

In the Watermark node, use both a text (the first watermark) and an image. For the text watermark use the $FFtimeStamp$ variable. For the image watermark build a "white" block png. Using the placement controls (a bit of trial and error), position the "white" block over the "time" content of the variable leaving the date to be printed.

FreeFlow User
Posts: 6
Registered: ‎06-08-2015

Re: Date Variable

If $FFtimeStamp$ was a text variable you could use .substring(x,y) to cut the pieces of the date-time-stamp you want. Problem: You need to make it a text field. You can do this by using the meta data part of the Optimize node. Example: At the beginning of the workflow create an Optimize node, activate the first box "PDF properties" (or similar in your language) of the Metadata part. Then add $FFtimeStamp$ in the Subject field.

In the watermark node you can then use the $FFwfdoc.Subject$ property with .substring(x,y), even multiple times, to format the date you want - e.g. $FFwfdoc.Subject.substring(6,4)$-$FFwfdoc.Subject.substring(3,2)$-$FFwfdoc.Subject.substring(0,2)$.

BTW: You can see the date format of  $FFtimeStamp$ in the Subject property of the resulting PDF file - this may help for the formatting, depending on the language you are using.

www.johannesferger.de