Poida Posted March 27, 2003 Share Posted March 27, 2003 Can anyone tell me if it is possible to have a field that tells me the current age of a person in Years and Months from a Date of Birth Field?? Many thanx in antici.............. pation Poida Link to comment Share on other sites More sharing options...
Lee Smith Posted March 27, 2003 Share Posted March 27, 2003 Here is one. NumToText(Year(Today) - Year(Birthday) - Case(Today< Date(Month(Birthday), Day(Birthday), Year(Today)), 1, 0)) & " Years, " & NumToText(Mod(Month(Today) - Month(Birthday) + 12 - Case(Day(Today) < Day(Birthday), 1, 0), 12)) & " Months, " & NumToText(Day(Today) - Day(Birthday) + Case(Day(Today) >= Day(Birthday), 0, Day(Today- Day(Today)) < Day(Birthday), Day(Birthday), Day(Today- Day(Today)))) & " Days" Lee Link to comment Share on other sites More sharing options...
Poida Posted March 27, 2003 Author Share Posted March 27, 2003 Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Link to comment Share on other sites More sharing options...
Vaughan Posted March 27, 2003 Share Posted March 27, 2003 AK! Don't use Today, use the Status(CurrentDate) function. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7860 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now