Get the Time of Day From a Date and Time
To extract the time of day from a date and time attribute, you use the Extract Time of Day function. For example, to determine the current time (that is, at the start of the session), you would use the Current Date Time function and extract the time from it using the Extract Time of Day function:
the current time = ExtractTimeOfDay(the current date time)
This will infer the current time to be 15:30:00 if the rule is run on 2008-12-12 at 15:30:00.