Remove files / directories older than N days

Looked for the simple command today and here it is:

find <path to files> -mtime +N -type f -delete
find <path to directories> -mtime +N -type d -delete

Where +N is how many days ago.
So in case of 2 days it should be: -mtime +2