Thanks Everyone, im close. Im using Python within a survey software tool called Decipher, so it may appear a little different. My issue now is I need to "pipe" in the age based on a respondents answer, that would be your_date_string. But when I put that in my dob variable I get an error from the system: ValueError: time data 'your_date_string' does not match format '%Y,%d,%m', but printing the your_date_string returns the exact value needed. Not sure how to fix this.
from datetime import date
your_date_string = str(2003 - (scr_q2c.c1.val)) +","+ str(scr_q2b.c1.val + 1) +","+ str(scr_q2a.c1.val + 1)
year, day, month = [int(f) for f in your_date_string.split(',')]
your_date = date(year, month, day)
dob = datetime.datetime.strptime('your_date_string', '%Y,%d,%m')
today = datetime.date.today()
age = today.year - dob.year - ((today.month, today.day) < (dob .month, dob .day))
print your_date_string
print age