Title: Time form field
I'm just getting into PDFs, but the _javascript_ way to get the time would use one of the following:
 
Example Time is: Tue Feb 3 11:14:04 EST 2004
myDate.getHours()=11
myDate.getMinutes()=14
myDate.getSeconds()=4
myDate.getMilliseconds()=701
myDate.getDay()=2
myDate.getDate()=3
myDate.getMonth()=1 (starts at 0, not 1!)
myDate.getYear()=2004
myDate.getFullYear()=2004
myDate.getTime()=1075824844701
myDate.toGMTString()=Tue, 3 Feb 2004 16:14:04 UTC
 
Hope that helps????
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Marston, David
Sent: Tuesday, February 03, 2004 10:56 AM
To: [EMAIL PROTECTED]
Subject: [PDF-Forms] Time form field

Hi list,

I've looked and found several ways of doing this (allegedly) but no success yet.

Can someone please provide a sure fire way of achieving the current time in a form field - displaying the same time as the pc clock, not  the point when the document was opened (it could be open all day !!)

Thanks,

Dave

Reply via email to