Solved

calculate age in acrobat javascript

Posted on 2010-11-27
6
1,009 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maps stopped work unsure why 7 33
add a 3rd selection to sum 7 25
Simple Total function not working 8 30
download Adobe Reader 6 21
This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now