Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1053
  • Last Modified:

calculate age in acrobat javascript

How do you calculate age in acrobat javascript?
0
tnaputo
Asked:
tnaputo
  • 3
  • 2
1 Solution
 
tnaputoAuthor Commented:
calculate age in acrobat javascript
0
 
James MurrellProduct 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:
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now