11-16-2007 02:19 AM - edited 03-14-2019 01:32 AM
Hi all,
on a decision element in CVP studio I need to get an exit status "OPEN" only if general_date_time it's between 15:30 and 20:30.
I can manage hour_of_day and minute separately but not together. I need something like:
If ((<hour_of_day> greater than 15) and (<minute> greter than 30)) and ((<hour_of_day> less than 20) and (<minute> less than 30))
then <exit_state> is "Open"
else <exit_state> is "Closed"
Anyone can help?
Thanks in advance
Chris B.
Solved! Go to Solution.
11-20-2007 09:04 PM
Yes, it works with CVP 3.0 and 3.1. You can download it from the Audium Support forum.
Regards,
Geoff
11-17-2007 04:17 PM
Use the Audium Arithmetic.jar and make the calculations. 15*60 = 900. 20*60 = 1200.
So ensure the value of hours*60 + minutes >= 930 and <= 1230.
Regards,
Geoff
11-20-2007 03:01 AM
Thanks Geoff,
wher I can find this plugin?
Does it work on CVP 3.1 also?
Chris B.
11-20-2007 09:04 PM
Yes, it works with CVP 3.0 and 3.1. You can download it from the Audium Support forum.
Regards,
Geoff
11-21-2007 12:29 AM
Ok,
I've found the forum and the Java sample section, but I can't see any attachment.
Do you know why?
Thanks
Chris B.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: