It is taken from various parts of the image file, including geolocation date and date taken usually stored in the EXIF data. If you can find an app that views EXIF data, try that on the file and see if maybe some garbage date was put in those fields.