I know it's been asked and answered, but I'm still not following. I'm an accountant using MS Access to create an Human Resources database. I am looking for the DATEDIFF formula to calculate the age of a person in Years, Months, and Days. I've copied and pasted formulas I've found on the net and am NOT getting the right results, though the format (Y-M-D) is correct. For example, I am 46 years, 5 months, and 1 day old, yet the answer I get is 47 years, 7 months, and 199 days.
Here is the formula:
=DateDiff("yyyy ",[Birth Date],Date()) & " yr(s). " & DateDiff("m",[Birth Date],Now())-(DateDiff("yyyy ",[Birth Date],Now())*12) & " mo(s)." & DateDiff("d",[Birth Date],Now())-(DateDiff("yyyy ",[Birth Date],Now())*365) & " day(s)"
Any help (like actually writing the formula so I can copy and paste) would be greatly appreciated. Thanks.
Here is the formula:
=DateDiff("yyyy ",[Birth Date],Date()) & " yr(s). " & DateDiff("m",[Birth Date],Now())-(DateDiff("yyyy ",[Birth Date],Now())*12) & " mo(s)." & DateDiff("d",[Birth Date],Now())-(DateDiff("yyyy ",[Birth Date],Now())*365) & " day(s)"
Any help (like actually writing the formula so I can copy and paste) would be greatly appreciated. Thanks.
Comment