how to fetch the date without timestamp in sql code example Example: sql server current date without time SELECT CAST (GETDATE() AS DATE)