Page 1 of 1

<say-as> date attribute

Posted: Thu Mar 16, 2006 2:43 pm
by yunyun
Hello,

I have codes as below:

Code: Select all

<form>
<block>
<prompt>
<voice gender="female">
today is <say-as type="date:ymd">2006 2 16</say-as>
</voice>
</prompt>
</block>
</form>
I heard two thousand six two sixteen not two thousand february sixteenth.

Thanks,

Yunyun

say-as tag for date unneeded in AT&T engine on IVR platf

Posted: Fri Mar 17, 2006 11:04 am
by support
Unfortunately the say-as types vary based on the TTS engine. In the case of the AT&T engine which you are doing, you are best off not using the <say-as> tag in your IVR application and, instead, specifying dates with standard US date format: MM/DD/YYYY. So your date below would simply be specified as "02/16/2006".