If you need to check the time value dynamically and branch the script accordingly, refer the following procedure...
1. Get the Time value in string. (e.g.) X="10:10:10"(hh:mm:ss format). Set this variable X as parameter. You can specify values to this parameter from appadmin without altering the script.
2. Using execute java step split the variable X and store the value of hours and minutes in separate variable. Say Hrs and Mts.
3. Using java step get the current hours and minutes value and store the same in a separate variable. Say CurHrs and CurMts.
4. Now compare CurHrs with Hrs and CurMts with Mts.
Follow the above procedure for comparing the value of day of week.
The tech note below specifies the method to obtain the Current Date When Writing a Cisco CRS Script
Use the above URL as reference to retrieve the hours, minutes, seconds and day value in the script.