>>Given a birth day, say 11/02/56 or 11/02/1956, whats the best way to determine the current
>>age of this person?
>
>(DATE() - ldBirthday) / 365.24 should get you pretty close.
>
>Failing that, you could do a loop with GOMONTH(ldBirthday, 12*i) until you get a date greater than the current one.
Pity that this 'solution' got the three points, as it's not accurate (sorry Garrett :).
We've had a puzzle some time ago. It offers some superior solutions, even superior to Booth's.
Re: Coding puzzle 2 Thread #
664570 Message #
665208
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.