The age is computed by subtracting the date of birth from the reference date. If the day of birth is greater than the reference day, we borrow one month and adjust days. Similarly, if the month of birth is greater, we borrow one year. This method ensures accurate age calculation.