It is not necessary to put a clock on your PDF to capture the time, The time is always available in the Acrobat JavaScript model. There are a few different ways you can add a "timestamp" to the submit. Here's an easy one.
- Add a text field to your form named "SubmitTime", this field may be hidden so the user can't see it.
- Add a "Run a JavaScript" action to the mouseup event on the submit button. This action must be before the submit action.
put this code in the button
this.getField("SubmitTime").value = util.printd("mm/dd/yyyy HH:mm:ss",new Date());
The current date and time will now be submitted with the form data.
Thom Parker
The source for PDF Scripting Info pdfscripting.com
All About PDF Stamps in Acrobat and Paperless Workflows - THE BOOK !!
The Acrobat JavaScript Reference, Use it Early and Often
The most important JavaScript Development tool in Acrobat
The Console Window (Video tutorial)
The Console Window(article)
Having trouble, Why Doesn't my Script Work