• you could also try this:

    SELECT CAST(CONVERT(char(10), getdate(), 112) as datetime)