I can think of a couple of ways to do this using file names or dates. I'm curious as to how you do it?
Something like this (forgot the exact naming convention now that everything is scripted)
then get the list of files in that folder. Decide which backup to use and what PIT to stopat and figure out when to stop based on the date.