sql extract only date from timestamp code example Example: sql datetime as date SELECT CONVERT(DATE, GETDATE()) date;