4 Replies Latest reply: Mar 28, 2012 7:34 AM by dohanlon RSS

    How do I calculate age based on user inputed birthdate?

    erinb1211 Community Member

      Hi there -

       

      I'm working on a form where the user will enter both their date of birth and their start date for employment. I need to create two fields that will calculate their full years of age based on their date of birth, and their full number of years of service, based on their start date.

       

      Does anyone have a good script that will make these calculations? I normally use FormCalc, but am open to Java if there's an easier solution.

       

      Thanks,

      Erin