VoiceGuide IVR Software Main Page
Jump to content

How To Say Current Date And Time

Recommended Posts

Hi,

I put the Result Variable $RV_DATE in the say number box.but doesn't say anything. Please help

Share this post


Link to post

The Say Numbers module expects input formatted in a specific way. Please see the VG Help file's entry on the Say Numbers module and compare the expected input format with what the $RV_DATE provides.

 

You should be looking at using these RV's :

$RV_DD

Takes on a 2 digit value between "01" and "31", depending on what day of the month it is. Can be used in Evaluate Expression modules to allow you to switch to different areas on the script depending on what day of the month it is.

 

$RV_MM

Takes on a 2 digit value between "01" and "12", depending on what month it is. Can be used in Evaluate Expression modules to allow you to switch to different areas on the script depending on the current month.

 

$RV_YY

Takes on a 2 digit value of current year (eg: "03"). Can be used in Evaluate Expression modules to allow you to switch to different areas on the script depending on the current year.

 

$RV_HH

Takes on a 2 digit value between "00" and "23", depending on the current hour of the day. Can be used in Evaluate Expression modules to allow you to switch to different areas on the script depending on the time of day.

 

$RV_NN

Takes on a 2 digit value between "00" and "59", depending on the current minute of the hour. Can be used in Evaluate Expression modules to allow you to switch to different areas on the script depending on the time of day.

 

The 'Date to say' should be specified as:

 

$RV_MM$RV_DD

Share this post


Link to post

Hello Friend,

Better if you write your own vb script for saying date and time by playing wav files

in any language. I've tested it and working fine in voice guide.

Rajendra prasad

Rajendrarajsri@yahoo.co.in

Share this post


Link to post

You can edit the lib_num2wav.vbs file directly to allow it to accept different date/time/etc inputs and create your own functions which would then be accessible via the SayNumbers module for playing the various information.

 

See VoiceGuide's \system\vbs\ subdirectory.

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
×