sql just get date from getdate sql server code example Example: sql DATE = GETDATE() CAST(GETDATE() AS DATE)