Need help getting timestamps!!

Hello all! I submitted the wrong file for a class assignment, and didn't realize it until a few days later. Is there anyway to get timestamps on code that I wrote, so I can prove to my professor that I really had the correct assignment done on the day it was due? Thank you!