shell to script to remove directory

Hello All

I want to delete the directory in my tree structure . all the filenames like this

dd-mm-yyyy

Example

30-01-2011
31-01-2011
01-02-2011

I want to grep the latest last four days created directorey by not using the find command . how do i do that ?

test below code without " |sh" first

day=$(date -d " -4 days"  +%Y%m%d)
ls *2011 |awk -v d=$day -F "-" '$3 $2 $1 < d {print "rm", $0}'  |sh