date diff calculated incorrectly

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Date diff calculated incorrectly

Date diff calculated incorrectly

resolvedResolved · Low Priority · Version 2010

Steve has attended:
Access Introduction course
Access Intermediate course

Date diff calculated incorrectly

When calculating the difference between a birth date and the date() function the answer was 1 out. for example the birth date was 6th December 1968 and today is the 20th January 2011. Access 2010 calculated this to be 43 years when in fact it is not 43 years until todays date is the 6th december 2011. Access returned 42 as the result. Is this a bug?

RE: date diff calculated incorrectly

Hi Steve

Thanks for your question

As promised i am looking into this, and hope to have a definative answer within thenext few days. My initial reserarch suggests that there is a problem with the algorithm that microsoft have not yet resolved

Regards

Stephen


 

Access tip:

Hiding rows and columns

To hide a column or row in Access, you need to minimise the column or row. This can be done by placing your mouse on the right edge of a column, wait for the mouse to change to a double aroow and then drag to minimise the column

View all Access hints and tips


Server loaded in 0.08 secs.