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

Code Example 1

SELECT CONVERT(string, name_surname);

Code Example 2

Cast( '2011-07-07' as date ) as convertedDate

Learn ReactJs, React Native from akashmittal.com