Comparing dates within filenames. Remove duplicates

This is very similar and may work for you: