contents.gifindex.gifprev1.gifnext1.gif

PlayTime method

The final prompt voice function is PlayTime. This method can be used to voice time strings for callers. Note that PlayTime expects strings to be in 24-hour format. That is, any time less than 12:00 will be interpreted as AM and any time between 12:00 and 23:59 will be interpreted as PM.

Example: ActiveAG.PlayTime (12:34) Says Twelve thirty four PM

ActiveAG.PlayTime (Format(Time, "Short Time")) Play current time

Type

Arguments: TimeString BSTR

Returns: A long integer status code (see ActiveAG Status codes)

Property interactions: This method is sensitive to the PromptVoiceFormat property.