Age Math Does not work for me

Age Math Does not work for me

I want to calculate someones age from their birth date. I noticed in the help there is sample code. I copied this code exactly from the zoho help into a function.

        value  =  ((zoho.currentdate - DOB)  /  (1000  *  60  *  60  *  24  *  365)).round(0)

When I execute this code if I choose a birthdate before December and after May it tells me the person is one year older than they should be.

Example if you choose a birth date of November 3, 2007 it tells you they are 2 instead of 1.

Why is the date math so bad in creator.

Shadrach