Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Set Timestamp in a textfield

Not applicable
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!!
2 Replies
pguerett
Level 10
Level 10
The easiest way is to use a FormCalc function:



$=Num2Time(Time())
Not applicable
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'