Working on a Twilio Autopilot bot that requires age authentication. Right now I'm getting the date from the user and storing as a twilio.DATE object. It is in the format of 2002-04-24. What I'd like to do is get this in the format of:
user_birth_year = 2002,
user_birth_month = 4,
user_birth_day = 24.
I'd like to do this so I can compare it with the time right now to process the "of age" logic. Does anyone know if there's an easy way to access the year, month, and day in twilio like there is in javascript?