This may be too late after the above ideas. But here's how to use variables.
1) define a variable, say 'T' to be type=tod (time of day).
2) add the vector step "goto .. if T > 1700"
(this goto condition will pass if the time of day is after 5pm)
This concludes the example using a time-of-day variable. To change the time, you'd need to change the vector 1700 value to whatever value you want. Remember this is military time and "T > 1700" is performing a string compare.
----------------------------------------
To take it a step further. Let's replace "1700" with another variable and rework the above idea
1) define 2 variables:
i) as before 'T'- type=tod, and
ii) let's say the end time is variable 'E' type=collect scope=G assignment=1700 (start and length can be the default 1 and 16).
2) add the vector step "goto .. if T > E"
(this goto condition will pass if the time of day is greater than the value stored in variable E which is initially assigned as 1700.)
3) Now if you wish to change the goto condition behavior, you want to change the value of 'E'. There are 2 ways to do this.
i) One way is to go to the SAT and enter "change variable" to change the variable 'E' assignment to the military time you want.
ii) The other way is to change the value of 'E' by calling a new vdn/vector. This new vdn/vector contains a "collect 4 digits .. for E". When prompted by this "collect 4 digits .. for E" vector step, enter in the 4 digit military time value and the variable 'E' will be set to what you entered with DTMF. You can set a more restrictive COR for the VDN, and perform some password checking before executing the "collect .. for E" for security. Since 'E' has a Global scope, then changing this value in this VDN/VECTOR means that the variable has been changed in all vectors where 'E' exists.
Again, remember that the condition check "T > E" performs a string comparison. So you need to enter military time value for 'E'. For example if you want the condition to pass at 9am, you'll need to enter 0900, or 9pm enter 2100.
Hopefully this makes some sense.