I need to build a calculator similar to what insurance companies use.
What I need to be able to do is, if the current date is 6 months or less from your last birthday, to display that age and date.
If current date is 6 months + 1 day (or more) from your last birthday, to display your next birthdate and age on that date. I have tried various things, and it does not seem like it should be that complicated, but I can't seem to figure it out.
Any ideas?
What I need to be able to do is, if the current date is 6 months or less from your last birthday, to display that age and date.
If current date is 6 months + 1 day (or more) from your last birthday, to display your next birthdate and age on that date. I have tried various things, and it does not seem like it should be that complicated, but I can't seem to figure it out.
Any ideas?