Find files older than 30 days in directories and delete them

Hi,
I have dummies questions:
My script here can find the files in any directories older than 30 days then it will delete the files but not the directories. I would like to also be able to delete the directories that hold old files more than 30 days not just the files itself.

find . -type f -mtime +30 |xargs rm -Rf {} \;

Thanks,

Use the 'Search' option of these forums - similar questions have been asked/answered before.

This should work!?

find . -mtime +30 -delete