The best way to do this is with a simple comparison:
select * from Bookings where StartTime >= cast('2014-02-15' as date) and StartTime < cast('2014-02-14' as date);
This is the safest comparison method because it will use an index on StartTime . This property is called mobility.
In SQL Server, casting in date must also be compatible, so you can also:
select * from Bookings where cast(StartTime as date) = cast('2014-02-15' as date) ;
source share