Check out example codes for "mysql extract days". It will help you in understanding the concepts better.

Code Example 1

SELECT EXTRACT(DAY FROM '2020-07-05')

Learn ReactJs, React Native from akashmittal.com