View Single Post
 
Old 01-10-2014, 05:29 AM
BoringDavid BoringDavid is offline Windows XP Office 2010 32bit
Novice
 
Join Date: Sep 2013
Posts: 19
BoringDavid is on a distinguished road
Default

D'oh, I thought I'd got this sorted, but unfortunately, the calculation appears to be giving out the wrong age

The line of code is:

Code:
c = DateDiff("yyyy", DTPStartDate.Value, Date)


Where
  1. DTPStartDate is 22 January 1993
  2. Date is 10 January 2014
Frustratingly the output is showing as 21, rather than 20.


Does anyone have any ideas?
Reply With Quote