Hi,
I have written a function to check if the age of a person is more than 65. The function works fine for BirthDate 1937 and after. But for dates before 1937, the difftime output overflows, and so, the result is wrong.
I tried to declare long double varables to store the result of difftime function and solve the problem, but it didn't work.
I have attached the code. Thanks for your help.
FE