Code for age calculation

Code for age calculation

This is what I came up with to calculate someones age using a date field for the birthday... probably there are easier ways?!
By the way, some scripts (including this script) won't save when you edit it after first save. This is because zoho strips stuff out of the code which kinda breaks it!

(
   (
      (
         (
            ((zoho.currentdate.getYear()))  +
            ((zoho.currentdate.getMonth())  /  100)  +
            ((zoho.currentdate.getDay())  /  10000)
         )  *  10000
      ).toLong() -   (
         (
            ((Geboorte_datum.getYear()))  +
            ((Geboorte_datum.getMonth())  /  100)  +
            ((Geboorte_datum.getDay())  /  10000)
         )  *  10000
      ).toLong()
   ) / 10000
).toLong()