News

-- To convert a datetime to a date, you can use the CONVERT (), TRY_CONVERT (), or CAST () function. -- Note that the GETDATE () function returns the current database server’s datetime.