months_between
Hi, I am trying to write a script that will give me a person's age at a certain date. I have written the following:
trunc(months_between(socio.termdate,v3me.birthdate)/12,0)
the problem is if the termdate and the birthdate are the same month, the month of term isn't counted, so I'm getting a year less in age. How can I get around that?
Thanks so much for your help!