Check out example codes for "sql server convert date to string yyyymmdd". It will help you in understanding the concepts better.

Code Example 1

DECLARE @v DATE= '3/15/2013'

SELECT CONVERT(VARCHAR(8), @v, 112)

Learn ReactJs, React Native from akashmittal.com