title: How to get number of days of a month given the particular month and year?
body: <p>I am new to sql and programming so please bear with me. Is there a function in mysql that gets the number of days in a month? Example if the month is February and the year 2012 it should return 29. Thanks in advance.</p>