Check out example codes for "mysql select date from datetime". It will help you in understanding the concepts better.

Code Example 1

WHERE DATE(datetime) = '2009-10-20'

Learn ReactJs, React Native from akashmittal.com