check date with current date in sql code example Example: get current date sql SELECT getdate(); -- Get Current date in SQL Server