date diff calculated incorrectly
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

replyReply Thu 20 Jan 2011, 15:36Delegate Steve said...

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?

For upcoming training course dates see: Pricing & availability

replyReply Wed 26 Jan 2011, 15:46Trainer Stephen said...

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

 

Please browse our web site to find out more about
access+course and other Microsoft training courses.

Access tip:

Convert A Form Into A Report

If there is a form that you want to to save as a report:

1. Open that form in Design View
2. Select File and Save As
3. In the Save As Dialog box Select Report

The system creates a report based on the form.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard