Check out example codes for "select STR_TO_DATE(date_seance1,'DD-MM-YYYY')". It will help you in understanding the concepts better.

Code Example 1

SELECT STR_TO_DATE("2017,8,14 10,40,10", "%Y,%m,%d %h,%i,%s");

Code Example 2

ORDER BY STR_TO_DATE(datestring, '%d/%m/%Y')

Learn ReactJs, React Native from akashmittal.com