Check out example codes for "sql get date". It will help you in understanding the concepts better.

Code Example 1

GETDATE()

Code Example 2

SELECT GETDATE();

Code Example 3

SELECT GETDATE();

Code Example 4

SELECT getdate()

Learn ReactJs, React Native from akashmittal.com