An OCR process is executed for image data read by an image reading unit. First date information in the image data is acquired based on the OCR process result. Current second date information is acquired. The acquired first date information is compared with the second date information. Time stamp information is added to the image data if the comparison result indicates that the difference between the two pieces of date information falls within a predetermined period. The image data is saved at a designated saving destination.