Okay, As for as i understand i can give u some logic.
- Convert Char to time in sql. ()i.e your time field and store that in temp variable.
- In the datetime field, u can seperate the time from the datetime and store that in another varible
- Compare both the time is the result.
Converting Char to time and seperating the time from date time is stright forward and u can search for the code.
Please let me know if this is not clear.