My grandma has dementia and a programmable landline. She misdoes her medication because she can't remember what day or time it is. I've set up a Twilio service with the idea that she can press 'Time' on the phone to dial the number, and it will play back the current day and time.
My code so far looks like:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="alice" language="en-AU" loop="2">Today is DAY. Right now, it is TIME.</Say>
</Response>
Where day would be replaced by the weekday (e.g. Saturday) and the TIME would be something like 8:34 PM.
How can I make these values dynamic?