Hi Raja,
You can extract the hour(H) from a datetime value. See this link. Next you can check whether the hour integer value is > 10 and <18. Hope this helps you out. Let me know.
Kind regards
try with this expression
parseInteger(formatDateTime($ShiftConfiguration,'H'))
It would give you Time in integer.
You could change the end expression which is mentioned as 'H' to get different values of DateTime.