cousinconley
MIS
I am trying to figure out how to do a datediff calculation using a persons birthdate and first day of the year. I do not want to hardcode 01/01/2006. If I hardcoded I would have to update the report formula every year. This is what I have so far:
numbervar Age:= DateDiff("YYYY",{PS_PERSON.BIRTHDATE} , CurrentDate);
I have tried doing some different things with current date by using the year function and trying to concatenate 01/01/ but so far no luck. Any suggestions?
Thanks, Richard
numbervar Age:= DateDiff("YYYY",{PS_PERSON.BIRTHDATE} , CurrentDate);
I have tried doing some different things with current date by using the year function and trying to concatenate 01/01/ but so far no luck. Any suggestions?
Thanks, Richard