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

Code Example 1

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

Code Example 2

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

Learn ReactJs, React Native from akashmittal.com