script to delete/unpublish by date comparison

(hope I did it right this time...)