I receive files that have the date embedded in their name, but it does not include the year.

I am trying to figure out how I can assign the year if I provide the month and day.

For example, I have a file named "myfile0802" and I want to know that it is 8/2/2002.

If today were 1/1/2003 and I had "myfile1225" I'd want to know that the date should be 12/25/2002 and not 12/25/2003.

Any help is greatly appreciated!

If it helps, I am looking to get the date in yyyymmdd format.