1) Google 'Boolean Logic' and discover the magic of the 'AND'
and 'OR'
operators.
2) Take a look at the ColdFusion Function documentation for
the list
functions, especially listFind() and possible listContains()
functions.
3) You may also want to take a look at the date functions as
well,
particularly dateCompare(). I.E. It is important to think
that times
are just a portion of a date-time value.
SPOILER SPACE
.
..
...
....
.....
......
.......
........
.........
..........
<cfif DayOfWeek(tdate) GTE 2 AND DayOfWeek(tdate) LTE
6>
<!--- ON - day is Monday through Friday --->
<cfelse>
<!--- OFF - day is Saturday or Sunday --->
</cfif>
I leave it to the OP to work the time of the day into this if
statement.