When you take a photo with a digital camera, your camera records the date taken value as part of the photo file. It's possible for photo files to be missing this value as older cameras may not record this information or they may use a different algorithm for tracking dates.