Removing time from DATETIME

Both Oracle and SQL Server solutions are covered here: