Hi all,
I have a problem in trying to accurately calculate the age of people. The information I have is their date of Birth and obviously the day the calculation is run (i.e. today’s date)
In the reports upbound field I make the:-
control source = CInt((Date()-[date of birth])/365)
The problem is some ages are correct however some are showing 1 year older than they should be, for instance:-
Mr Smith 10/5/1964 43 (Should be 42)
Mr Jones 22/3/1957 50 (should be 49)
For info the date the report was run is 1/3/07
I haven’t got a clue how to sort this one, can anyone please help
Many thanks
James
I have a problem in trying to accurately calculate the age of people. The information I have is their date of Birth and obviously the day the calculation is run (i.e. today’s date)
In the reports upbound field I make the:-
control source = CInt((Date()-[date of birth])/365)
The problem is some ages are correct however some are showing 1 year older than they should be, for instance:-
Mr Smith 10/5/1964 43 (Should be 42)
Mr Jones 22/3/1957 50 (should be 49)
For info the date the report was run is 1/3/07
I haven’t got a clue how to sort this one, can anyone please help
Many thanks
James