How to change the date a photo says it was taken
A camera whose clock was never set, a scan of a 1987 print that says it was taken yesterday, a holiday an hour out: the date on a photo is a line of text inside the file, and it can be corrected.
Written · Updated
Photo libraries sort by the date taken, which is the EXIF field DateTimeOriginal inside the JPEG, written by the camera from its own clock. It is not the file’s "created" or "modified" date, which belong to the disk and change whenever the file is copied. Change DateTimeOriginal (and, to be tidy, the two related fields) and every program that reads EXIF will show the new date. Windows Explorer can do it for one photo or several; ExifTool shifts a whole folder by an amount; RETAG does it for one JPEG in the browser tab without re-saving the picture.
The dates a photo carries
| Where | Field | What it means |
|---|---|---|
| EXIF | DateTimeOriginal | When the picture was taken. This is "Date taken" in Windows and the date Google Photos and Apple Photos sort by. |
| EXIF | DateTimeDigitized | When it became digital. The same as the above for a camera; the scan date for a scanned print. |
| EXIF | DateTime | When the file was last changed by software. |
| EXIF 2.31 | OffsetTimeOriginal | The time zone of the date taken, such as +01:00. Phones write it; many cameras do not. |
| The disk | Created, modified | When this copy of the file was made or saved. Not part of the photo. |
The EXIF dates are plain text in the form 2024:07:14 18:32:05, with colons in the date as well as the time, and no time zone. That is why a photo from a trip can appear hours out of order among photos from a phone: the camera recorded local time with no zone, and the phone recorded the zone as well. The time zone fields were added in EXIF 2.31, in 2016, to fix exactly this.
One photo, or a few, on Windows
Right-click the JPEG, Properties → Details, click the value beside Date taken, and type the new date and time. Select several photos first and the change applies to all of them, setting each to the same date. It is offered for JPEG, but not for every format.
On a Mac, Photos has Image → Adjust Date and Time, which changes the date in the Photos library. Check an exported copy if the date needs to travel with the file to somebody else.
A whole folder an hour out
The commonest case is a camera clock that was wrong for a whole trip, where every photo needs the same shift rather than the same date. That is a job for ExifTool, free and the reference tool for photo metadata. exiftool "-AllDates+=1" folder moves the date taken, the digitised date and the modified date of every photo in the folder one hour later; -= moves them earlier, and a value such as 0:0:1 2:30:0 shifts by one day, two hours and thirty minutes. It keeps an _original copy of each file unless told not to.
To find the shift, photograph a clock with the camera, or find one photo whose real time you know, and subtract.
One photo in the browser
RETAG opens a JPEG in the tab and shows what it says: the three dates, the time zone, the location, the orientation, the camera and the credits. Type the date taken, tick the box to set the digitised and modified dates to match, and add a time zone if you know it. Only the EXIF block is rewritten; the compressed picture is copied across byte for byte, so nothing is lost to re-saving, and the photo is not sent anywhere.
Three limits, which the page also states. It edits one JPEG at a time, so a folder with a clock error belongs to ExifTool. It rewrites EXIF and leaves an XMP copy of the date, if the file has one, as it was; a program that reads the XMP copy first may keep showing the old date. And a camera maker’s note is carried across as a block of bytes, so on some cameras the maker’s own software may no longer show lens or focus details afterwards.
Opening a photo and checking its dates is free. Saving the changed photo is part of OBSCURA Pro, or US$1 to save from one tool for a day.
A word on what a date proves
Because the date taken is a line of text anyone can change, it is evidence of nothing on its own. If a photo’s date matters to somebody else, such as an insurer, a court or a landlord, say that you corrected it and why. How to tell if a photo has been edited covers what does and does not survive this kind of change.
Questions people ask about How to change the date a photo says it was taken
How do I change the date taken on a photo?
Change the EXIF field DateTimeOriginal. On Windows, right-click the JPEG, Properties, Details, and edit Date taken. RETAG does it in the browser for one JPEG, and ExifTool shifts a whole folder.
Why is date taken different from date created?
Date taken is stored inside the photo by the camera. Date created and modified belong to the file on the disk and change whenever the file is copied or saved.
How do I shift the dates of many photos by an hour?
Use ExifTool: exiftool "-AllDates+=1" followed by the folder moves every photo one hour later, and -= moves them earlier. Windows Explorer can only set several photos to the same date, not shift them.
Why are my camera photos out of order with my phone photos?
Cameras usually record local time with no time zone, while phones also record the zone. If the camera clock was wrong or set to home time, its photos sort in the wrong place. Shift them, and add OffsetTimeOriginal if the software supports it.
Does changing the date taken reduce photo quality?
Not if only the EXIF block is rewritten, as Windows Explorer, ExifTool and RETAG do. Opening the photo in an editor and saving it again re-compresses the picture.
Can I change the date on a scanned photo?
Yes. Set DateTimeOriginal to when the photo was really taken, and leave DateTimeDigitized as the scan date if you want to keep that.
Is the date taken on a photo reliable evidence?
No. It comes from the camera's clock, which may be wrong, and it can be edited by anyone. Treat it as a claim.
Related
- Why a cropped photo still shows what you cropped outA JPEG carries a second, complete picture inside its EXIF block, written when the shutter fired.
- Does a PNG have GPS or EXIF in it?It can, and it usually does not: PNG had no way to hold EXIF at all until 2017. Which chunk each thing lives in, and why converting to PNG is not the way to strip a location.
- What a video file gives away about youThe camera, the operating system version, the editor and the moment to the second, and on an iPhone, often not one location but a reading every second or so for the length of the clip.
- What is hidden in a Word documentA .docx is a zip archive full of XML, and the words on the page are only one part of it.
- Data still in a spreadsheet you deletedAn .xlsx is a zip archive of XML parts, and deleting something from the grid changes one part and leaves the rest.
All 13 guides under “What is in a file that you did not put there”.
A letter, now and then
An occasional letter when there is something worth reading: the new guides and what changed in the tools. Never more than once a month and nothing else, and you can leave at any time on the unsubscribe page.