VoiceGuide IVR Software Main Page
Jump to content

Say Numbers Module - Date Mmddyyyy

Recommended Posts

I have been unable to get dates to play properly using the Say Number module.

 

In this example, I want "December 28th 2005." and I get "Twelfth, 2005."

 

I looked at the VBScript generated and everything looks as though it should work, but it is not.

 

'*********************************************
'Appended by the Say Number module
'*********************************************
Set vg = CreateObject("VoiceGuide.CommandLink")
sWavList=DateMMDDYYYY("12/28/2005")
vg.Play_Start 6, sWavList
Set vg = Nothing
'*********************************************

vbs_6_SayNumber.vbs

Share this post


Link to post

I thought this sounded like a familiar topic, and I found Topic where I had asked this question before.

 

The problem is not that the script is wrong, it is calling DDMMYYYY instead of MMDDYYYY.

 

When I modify the VBS's DDMMYYYY section to be identical to the MMDDYYYY, it works fine.

 

 

In short, I have fixed the issue with a workaround but I would consider it a bug.

Share this post


Link to post

The issue that was noted in http://voiceguide.com/forums/index.php?showtopic=1970 was fixed in VG released soon after that post was made.

 

Which version of VG are you using? It sounds like you are still using the old version of lib_num2wav.vbs.

 

vbs_6_SayNumber.vbs shows that function DateMMDDYYYY is called, so I'm not sure why you needed to modify the DDMMYYYY function...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×