Is there a function to determine total number of days is any month?

Thanks in advance