how to calculate days in month

how to calculate days in month

hi

how can via function calculate numbers of days in month (current or future)?

example - right now is may-2015, and there is 31 days
in june-2015 there is 30 days

how can i make automatically this type of calculations?