Guest Guest_LanceR Report post Posted 02/04/2004 05:52 PM For some reason this expression isn't working right. Mondays and Friday's we're open 10am - 5:30pm and Tues, Wed, Thur we're open 10am to 4pm. The system doesn't seem to be detecting false to play the closed script. ((($RV_DAY >= 2) and ($RV_DAY <= 4)) and (($RV_HOUR >= 10) and ($RV_HOUR <= 16))) or ((($RV_DAY = 1) or ($RV_DAY = 5)) and (($RV_HOUR >= 10) and (($RV_HOUR = 17) and ($RV_MINUTE < 30)) ) Share this post Link to post
SupportTeam Report post Posted 02/05/2004 01:23 AM The expression should be: ((($RV_DAY >= 2) and ($RV_DAY <= 4)) and (($RV_HOUR >= 10) and ($RV_HOUR < 16))) or ((($RV_DAY = 1) or ($RV_DAY = 5)) and ((($RV_HOUR >= 10) and ($RV_HOUR < 17)) or (($RV_HOUR = 17) and ($RV_MINUTE < 30))) There has been talk about making a "Time Switch" module which will make selection of day/time easier... Share this post Link to post