Check out example codes for "sql DATE = GETDATE()". It will help you in understanding the concepts better.

Code Example 1

CAST(GETDATE() AS DATE)

Code Example 2

SELECT GETDATE();

Code Example 3

SELECT GETDATE();

Learn ReactJs, React Native from akashmittal.com