Just like a different approach, I will close my favorite DATEADD / DATEDIFF trick DATEDIFF :
select DATEADD(day,DATEDIFF(day,'20010101',FromDate),'2001-01-01T18:00:00') from WsWmpLeaveReason
This works by calculating the (integer) number of days from January 1, 2001 to FromDate , and then adding the same number of (integral) days at 18:00 on January 1, 2001. This, by deduction, should produce a date that has the same date as FromDate , but with a time part fixed to 18:00.
source share