G Guest Jan 5, 2005 #1 I have a DOB field (eg 5/23/03) how do I get there age from this date with code?
J jwm Jan 6, 2005 #3 pokdbz said: I have a DOB field (eg 5/23/03) how do I get there age from this date with code? Click to expand... In this example the DOB field is named "dtmBirthDate"...substitute your field name. =DateDiff("yyyy",[dtmBirthDate],Date())+(DateSerial(Year(Date()),Month([dtmBirthDate]),Day([dtmBirthDate]))>=Date())
pokdbz said: I have a DOB field (eg 5/23/03) how do I get there age from this date with code? Click to expand... In this example the DOB field is named "dtmBirthDate"...substitute your field name. =DateDiff("yyyy",[dtmBirthDate],Date())+(DateSerial(Year(Date()),Month([dtmBirthDate]),Day([dtmBirthDate]))>=Date())