You get two dicoms files from two different subjects to process, but you accidently rename the wrong one making two different subjects have the same filename. So, to tell them apart you can look into the scan date inside the dicoms file.
Or you accidently lost the information from the scan date, and you need to know when all the subjects in the study were scanned.