How to know how many days the current MySQL month has, example: setembro = 30dias
Reason:
I have a goal: exemplo: 1.000,000
I need to get the value of the goal and divide by the number of days it has in the current month to return the value of the daily goal.