Hi.
Your code is not calculating correctly.
Birthday = 02/23/2022 (MM/dd/yyyy)
Example Dates:
04/28/2022 => 0 Years, 2 Months, 5 Days
04/29/2022 => 0 Years, 2 Months, 6 Days
04/30/2022 => 0 Years, 2 Months, 7 Days
05/01/2022 => 0 Years, 2 Months, 6 Days (should be 8 Days)
05/02/2022 => 0 Years, 2 Months, 7 Days (should be 9 Days)
05/03/2022 => 0 Years, 2 Months, 8 Days (should be 10 Days)
The issue happens because you are calculating the days without considering the months / year. You have to calculate years & months at first and after this the remaining days.