Set Timestamp in a textfield

Avatar

02-04-2009

Hello

I have a PDF form in which I would like to capture the time user has started on an application. I would like to capture the date and time stamp when the user starts entering in a field. I would like to capture the date and time on the 'Change' event of a field and populate in another text field. This is a stand alone PDF. Appreciate if you could tell me of a date function that could solve this.



Thanks!!

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

02-04-2009

The easiest way is to use a FormCalc function:



$=Num2Time(Time())

Avatar

02-04-2009

I am using JavaScript on the same field for some other calculations.

With javascript I am using $=Date() functionality but I am not getting the correct date format. Can we force MM/DD/YYYY HH:MM Z format on the Date() function.



the Date() function returns the format 'Day DD MMM YYYYY HH:MM:SS GMT'