I have searched for a generic javascript age calculation function, with no avail. I need to return the age in years, by substracting two dates, allowing for +/- 1 depending on birth month.
Using:
ASP - Javascript
Form Name: Dui
1st Date: DOB -- mm/dd/yyyy
2nd Date: DateWritten-- mm/dd/yyyy
Return to: Age - int
Can anyone please assist, or point me to a generic script that would serve my purpose.
Thanks
Ernest