Newbies japanik Posted May 30, 2008 Newbies Posted May 30, 2008 Hello everybody. I am trying an age calculation. As result I only need years. However, the dates should compare only months. Means, the person should become already a year older on the first day of the month of the birthday, and the birthday should be compared with the creation date of the record, giving me the same result whenever the record is created (first day of the mont, or last day of the month). Any good ideas out there?
Raybaudi Posted May 30, 2008 Posted May 30, 2008 Hi try this: Year ( CreationDate ) - Year ( DoB ) - ( Month ( CreationDate ) < Month ( DoB ) )
Newbies japanik Posted May 30, 2008 Author Newbies Posted May 30, 2008 That simple!!! Works, thanks a lot!!!
Recommended Posts
This topic is 6081 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