I make this age calculator from date picker but I’m not sure my formula using the blocks is accurate or not. If I pick 15/10/1997, it shows 24 years and -2 months. How can I change it to 23 years 10 months?
Use if block,
If the month is getting negative then add it to the 12 at the same time minus one year from the year. Simple
So , 12+(-2)=10month
24year -1=23 year
It works now. You’re genius. Thanks!
If possible, you can mark solution which will be helpful for the one those who search for the same in future.
I have marked it
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.