If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Age, Total months t be displayed
Dear,
I have a list of employees birthdate and i am trying to find out how much is the age and total month. I am using this formula and all i am gettng is total years. Age: DateDiff("yyyy",[Birthdate],Date())+(Format([Birthdate],"mmdd") Format(Date(),"mmdd")) Please help |
#2
|
|||
|
|||
Age, Total months t be displayed
See "A More Complete DateDiff function" at
http://www.accessmvp.com/DJSteele/Diff2Dates.html Age: Diff2Dates("ym", [Birthdate], Date()) Note, of course, that Age will now be a text field, so you won't be able to do arithmetic on it. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no private e-mails, please) "Tia" wrote in message ... Dear, I have a list of employees birthdate and i am trying to find out how much is the age and total month. I am using this formula and all i am gettng is total years. Age: DateDiff("yyyy",[Birthdate],Date())+(Format([Birthdate],"mmdd") Format(Date(),"mmdd")) Please help |
Thread Tools | |
Display Modes | |
|
|