Check out example codes for "sql server format datetime to short date". It will help you in understanding the concepts better.

Code Example 1

CONVERT ( data_type [ ( length ) ] , expression [ , style ] )

Learn ReactJs, React Native from akashmittal.com