DO NOT do just the date in hours, get the date in minutes and connect, since 19:05 will end before 195. If you go this route, you will need to do something like this in order to deal with the minutes
right ('0' + varchar (datepart (mi, getdate ())), 2)
at this moment it becomes quite ineffective.
source share