sql query to get data for a particular date and time code example Example: how to find date from date table in sql SELECT CONVERT(date, getdate());