Javascript Print Today's Date Stopped Working - Prints Created Date Instead
We use javascript on our PDF documents that print today's date. Last week the javascript stopped working and prints the date the PDF was created instead.
Here is the javascript we use:
var f = this.getField("DatePrinted");
f.hidden = false;
f.value = "Printed on: " + util.printd("mmm dd, yyyy", new Date());
These are our company's legal documents and the printed date is very important, as the documents are uncontrolled 24 hours after printing.
Could anyone provide assistance to this?
Thank you.
