Discussion:
Help Needed with Export PDF With Current Date in the File Name
(too old to reply)
Tom E
2014-01-17 23:39:33 UTC
Permalink
Current Version FM12

Have a script that exports a few records to a PDF with a desired file name - works great - but I would like to add the current date to the file name...any help would be greatly appreciated!

Tom
Martin Τrautmann
2014-01-18 05:48:00 UTC
Permalink
Post by Tom E
Current Version FM12
Have a script that exports a few records to a PDF with a desired file name - works great - but I would like to add the current date to the file name...any help would be greatly appreciated!
Compute a variable with the text you want and assign this variable as
file name.

- Martin
Tom E
2014-01-22 18:52:34 UTC
Permalink
Sorry not sure if I understand? Can you elaborate...still a little green.

Thanks,
Tom
Post by Tom E
Current Version FM12
Have a script that exports a few records to a PDF with a desired file name - works great - but I would like to add the current date to the file name...any help would be greatly appreciated!
Tom
b***@healthmediaconcepts.com
2014-04-27 06:23:10 UTC
Permalink
Post by Tom E
Current Version FM12
Have a script that exports a few records to a PDF with a desired file name - works great - but I would like to add the current date to the file name...any help would be greatly appreciated!
Tom
You can create a calc field that generates the current date in a format that can be used with file names.

Month ( Get ( CurrentDate ) ) & "-" & Day ( Get ( CurrentDate ) ) "-" & Year ( Get ( CurrentDate ) )

This will give you a XX-XX-XXXX format that can be added to a filename
Jack
2014-05-22 07:27:43 UTC
Permalink
Post by b***@healthmediaconcepts.com
You can create a calc field that generates the current date in a format
that can be used with file names.
Month ( Get ( CurrentDate ) ) & "-" & Day ( Get ( CurrentDate ) ) "-" &
Year ( Get ( CurrentDate ) )
This will give you a XX-XX-XXXX format that can be added to a filename
Or you can use the ISO 8601 stadanrd for the dates:
http://en.wikipedia.org/wiki/ISO_8601

Bye Jack
--
Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm?
Loading...