Solved

calculate age in acrobat javascript

Posted on 2010-11-27
6
1,014 Views
Last Modified: 2012-05-10
How do you calculate age in acrobat javascript?
0
Comment
Question by:tnaputo
  • 3
  • 2
6 Comments
 

Author Comment

by:tnaputo
ID: 34223226
calculate age in acrobat javascript
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 50 total points
ID: 34224927
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
 

Author Comment

by:tnaputo
ID: 34225205
Please see attached  Untitled.pdf
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 34225314
they are text fields - Need to create a Date object.
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 36413421
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question