#1
|
|||
|
|||
![]()
Can i write a rule that makes the date on a product automatically update to the current date each time it is composed?
|
#2
|
|||
|
|||
![]() Quote:
Code:
var d = new Date(); return d;
__________________
David Miller FusionPro VDP Creator 12.0.3 Adobe Acrobat Pro 2021 macOS Big Sur 11.6.2 Last edited by David Miller; September 2nd, 2015 at 02:32 PM.. |
#3
|
||||
|
||||
![]()
If you only want the date, you can format it like so:
Code:
return FormatDate(new Date(), 'lm d, yyyy');
__________________
Ste Pennell FusionPro VDP Creator 9.3.15 Adobe Acrobat X 10.1.1 Mac OS X 10.12 |
#4
|
|||
|
|||
![]() Quote:
LOL. JK. He asked: Welcome back step!
__________________
David Miller FusionPro VDP Creator 12.0.3 Adobe Acrobat Pro 2021 macOS Big Sur 11.6.2 Last edited by David Miller; September 2nd, 2015 at 03:16 PM.. |
#5
|
||||
|
||||
![]()
if you want it to return the current date use the following
return FormatDate(Today(), 'lm d, yyyy');
__________________
Richard A. Lewis, Jr. Learning Development Manager | MarcomCentral® a Ricoh Company |
#6
|
||||
|
||||
![]() Quote:
I assumed seymoujd was wanting to put the date somewhere on his composed file. So if he composed today and had to re-compose later today he'd still want it to say "September 2, 2015." I suppose if he wanted a unique date per each composition (in the case of file name for example) your unformatted approach is probably the better option.
__________________
Ste Pennell FusionPro VDP Creator 9.3.15 Adobe Acrobat X 10.1.1 Mac OS X 10.12 |
#7
|
|||
|
|||
![]() Quote:
My approach WAS totally unformatted. Point being, just use a little Google-Fu. Date, time, here you go. Date formatting could be an entire topic altogether. Time travel is another story. But, I'd subscribe to that thread Step! Just let me know. I'm there.
__________________
David Miller FusionPro VDP Creator 12.0.3 Adobe Acrobat Pro 2021 macOS Big Sur 11.6.2 Last edited by David Miller; September 2nd, 2015 at 09:54 PM.. |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|