calculate age in acrobat javascript

How do you calculate age in acrobat javascript?
tnaputoAsked:
Who is Participating?
 
James MurrellConnect With a Mentor Product SpecialistCommented:
taken from http://65.181.155.238/forum/javascript/calculate-age-javascript

Make a new Date object. It will point to "now". Reduce the birth year from now's year. If the birth month is higher then now's month, reduce one year from the result. If it's the same month and the birth date is higher then now's date, reduce one year from the result.
0
 
tnaputoAuthor Commented:
calculate age in acrobat javascript
0
 
tnaputoAuthor Commented:
Please see attached  Untitled.pdf
0
 
James MurrellProduct SpecialistCommented:
they are text fields - Need to create a Date object.
0
 
James MurrellProduct SpecialistCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.