cancel
Showing results for 
Search instead for 
Did you mean: 
mariuccij New Member
New Member

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!

0 Kudos
4 Replies
FreeFlow Production Workflow Moderator Michael325861-xrx
FreeFlow Production Workflow Moderator

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. 

0 Kudos
mariuccij New Member
New Member

Re: Date Variable

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

 

Even outside using a variable?

0 Kudos
FreeFlow Production Workflow Moderator DavidU54339-XRX
FreeFlow Production Workflow Moderator

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.

0 Kudos
Highlighted
Johannes F
FreeFlow User

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.jofeco.com