in reply to epoch reduction

By "largest" do you mean the last time on a particular day? If the array is sorted, I would run down the list converting to day,month,year when the day,month,year changes, then the previous time was the last one on that day. I don't see what regex would have to do with this.

If you could post a short example with the code that you have so far, that would be very helpful.