12-01-2025
09:27 AM
- last edited on
12-01-2025
09:33 AM
by
James_C
Hello all,
I had a vacation to another country last October for a week with my camera Canon EOS R8 and my trustworty 35mm f1.8 lens.
Unfortunately, I absentmindedly forgot to change the time setting on my camera for a couple of days. There is only -1 hour time difference between my local country and the visited country.
I shot all my photos in RAW format.
Is there any possibility to set/change only the time taken on photos I shot with my local time without loosing original exif data (creation date, modify date, shooting date, and so on)?
Thank you very much for any kind of help, support, comment and direction.
12-01-2025 10:10 AM
Greetings,
You would have to batch update the exif data to correct this. It's kind of a lot of work for an hour IMO.
A good application for this is exiftool. It's a command line utility and very reliable.
~Rick
Bay Area - CA
~R5 C (1.0.9.1), ~R50v (1.1.1) ~RF Trinity, ~RF 100 Macro, ~RF 100~400, ~RF 100~500, ~RF 200-800 +RF 1.4x TC, BG-R10, 430EX III-RT ~DxO PhotoLab Elite ~DaVinci Resolve Studio ~ImageClass MF644Cdw/MF656Cdw ~Pixel 8 ~CarePaks Are Worth It
12-01-2025 11:48 AM
There are some software applications that allow you to update the date/time in RAW images. I know that Lightroom can do this, and you just select the group of mis-timed images and then update the first one, Lightroom will then update all the other images by the same amount. You can also use Photo Mechanic, and EXIF Info to change the timestamps. There may be other solutions.
12-01-2025 11:53 AM
Hi Rick,
Thank you very much for your reply.
I have already made some trials with exiftool but none of them worked correctly. In my trials I saw that whether the command I applied changes creationdate, modifydate, shooting date or it clears almost all exif data for the photos.
So, any verified exiftool command example will be appreciated.
All the best.
12-01-2025 12:01 PM
Hello Brian,
I don't have Lightroom. I will be very happy if I can do it with a free tool (İ thought that I can find a easy solution with Canon DPP. But it is a complete disappoitment for me).
I will check Photo Mechanic tomorrow morning.
Thank you very much.
12-01-2025 12:28 PM - edited 12-01-2025 12:33 PM
I use exiftool on nearly every photo I publish.
I never change the raw files.
https://exiftool.org/Shift.html
Below I copied a CR3 file to /tmp on my Debian machine (I also use exiftool on my iMac). I changed the time zone by plus one hour and displayed the difference. I did not change all of the values that contain a time zone offset. I hope this might be helpful.
exiftool -h -s -G0:1:2 -time:all -a IMG_5118.CR3
| File:System:Other | FileName | IMG_5118.CR3 |
| File:System:Time | FileModifyDate | 2025:12:01 11:14:57-06:00 |
| File:System:Time | FileAccessDate | 2025:12:01 11:16:58-06:00 |
| File:System:Time | FileInodeChangeDate | 2025:12:01 11:14:57-06:00 |
| EXIF:IFD0:Time | ModifyDate | 2025:11:25 09:54:43 |
| EXIF:ExifIFD:Time | DateTimeOriginal | 2025:11:25 09:54:43 |
| EXIF:ExifIFD:Time | CreateDate | 2025:11:25 09:54:43 |
| EXIF:ExifIFD:Time | OffsetTime | -06:00 |
| EXIF:ExifIFD:Time | OffsetTimeOriginal | -06:00 |
| EXIF:ExifIFD:Time | OffsetTimeDigitized | -06:00 |
| EXIF:ExifIFD:Time | SubSecTime | 93 |
| EXIF:ExifIFD:Time | SubSecTimeOriginal | 93 |
| EXIF:ExifIFD:Time | SubSecTimeDigitized | 93 |
| MakerNotes:Canon:Time | TimeZone | -06:00 |
| MakerNotes:Canon:Time | TimeZoneCity | Chicago |
| MakerNotes:Canon:Time | DaylightSavings | Off |
| QuickTime:Time | CreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Time | ModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track1:Time | TrackCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track1:Time | TrackModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track1:Time | MediaCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track1:Time | MediaModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track2:Time | TrackCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track2:Time | TrackModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track2:Time | MediaCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track2:Time | MediaModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track3:Time | TrackCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track3:Time | TrackModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track3:Time | MediaCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track3:Time | MediaModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track4:Time | TrackCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track4:Time | TrackModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track4:Time | MediaCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track4:Time | MediaModifyDate | 2025:11:25 09:54:43-06:00 |
| MakerNotes:Track4:Time | TimeStamp | 2025:11:25 09:54:43.93 |
| QuickTime:Track5:Time | TrackCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track5:Time | TrackModifyDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track5:Time | MediaCreateDate | 2025:11:25 09:54:43-06:00 |
| QuickTime:Track5:Time | MediaModifyDate | 2025:11:25 09:54:43-06:00 |
| Composite:Time | SubSecCreateDate | 2025:11:25 09:54:43.93-06:00 |
| Composite:Time | SubSecDateTimeOriginal | 2025:11:25 09:54:43.93-06:00 |
| Composite:Time | SubSecModifyDate | 2025:11:25 09:54:43.93-06:00 |
exiftool -OffsetTimeOriginal+=+1:00 -OffsetTimeDigitized+=+1:00 -CreateDate+=+1:00 -DateCreated+=+1:00 -DigitalCreationTime+=+1:00 -TimeCreated+=+1:00 /tmp/*.CR3
exiftool -h -s -G0:1:2 -a -diff IMG_5118.CR3_original IMG_5118.CR3 ======== diff < IMG_5118.CR3 > IMG_5118.CR3_original < [File:System:Other] FileName : IMG_5118.CR3 > : IMG_5118.CR3_original < [File:System:Time] FileModifyDate : 2025:12:01 11:20:28-06:00 > : 2025:12:01 11:14:57-06:00 < [QuickTime:Video] MediaDataOffset : 457260 > : 460288 < [EXIF:ExifIFD:Time] OffsetTimeOriginal : -05:00 > : -06:00 < [EXIF:ExifIFD:Time] OffsetTimeDigitized : -05:00 > : -06:00 < [Composite:Time] SubSecCreateDate : 2025:11:25 09:54:43.93-05:00 > : 2025:11:25 09:54:43.93-06:00 < [Composite:Time] SubSecDateTimeOriginal : 2025:11:25 09:54:43.93-05:00 > : 2025:11:25 09:54:43.93-06:00
12-02-2025 05:59 AM
Hello John,
I understand from your "I never change the raw files." sentence that you don't make timestamp changes on RAW files. Would you please verify me?
If your answer is "Yes", will it be more correct to work with JPEG files for this type of changes?
Regards,
Ali
12-02-2025 06:43 AM - edited 12-02-2025 06:46 AM
@aac_r8 wrote:
Hello John,
I understand from your "I never change the raw files." sentence that you don't make timestamp changes on RAW files. Would you please verify me?
If your answer is "Yes", will it be more correct to work with JPEG files for this type of changes?
Regards,
Ali
I do not save changed raw files. I preserve the raw files as they come out of the camera. Some people do save changed raw files. Adobe software seems to me to prefer changing raw files to DNG. I cannot answer "more correct", but only what I do and I hope some of it might be helpful to others. I am still learning.
I make metadata changes to JPEG, TIFF, and png files. I use exiftool because it seems to me to work better than exiv2 or programs using libexiv2. I use exiftool on both Debian Linux and macOS.
I try to follow the Metadata Working Group recommendations. I add IPTC standard metadata.
https://exiftool.org/TagNames/MWG.html
https://iptc.org/standards/photo-metadata/iptc-standard/
https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata-2025.1.html
If one has the IPTC browser extension, one may use it to view metadata of photos on my web server. Older photos have not yet had metadata added, but for recent photos I add location information, description, and keywords.
https://iptc.org/standards/photo-metadata/browser-extensions/
I also copy makernotes from the out of camera JPG file to JPEG files that I have edited because image editors do not preserve all of the metadata or make different choices about what to save than the choices I would make.
https://getpmd.iptc.org/getpmd/?imgurl=https://www.rsok.com/~jrm/2025Nov25_Salt_Plains_NWR/2025nov25... is an example of the IPTC metadata in one of my photos on my webserver.
Bald Eagle (Haliaeetus leucocephalus) at Salt Plains National Wildlife Refuge in Alfalfa County, Oklahoma, United States on November 25, 2025 ; handheld, sitting in car
https://www.rsok.com/~jrm/2025Nov25_Salt_Plains_NWR/2025nov25_eagle_IMG_5100c.html
| Camera Model Name | Canon EOS R5 |
| Lens Model | EF100-400mm f/4.5-5.6L IS II USM +2x III |
| Focal Length | 800 mm |
| Exposure Time | 1/400 |
| ISO | 500 |
| F Number | 13.0 |
| Camera Temperature | 34 C |
| Measured EV | 13.75 |
| Measured EV 2 | 30 |
| Focus Distance Upper | 164.68 m |
| Focus Distance Lower | 81.91 m |
12-02-2025 07:26 AM
Thank you very much all the replies regarding my query.
I have very little experience on dealing with RAW files. This travel was my first usage attempt of RAW format shooting.
Since RAW files don't show exif data with a known tools like windows file details, I was unable to determine the effect of exiftool command I applied.
I have applied the following exiftool command to my time erroneous photo files:
D:\exiftool-13.32_64\exiftool ^
-OffsetTimeOriginal+=-1:00 ^
-OffsetTimeDigitized+=-1:00 ^
-DateTimeOriginal-=1 ^
-DateTimeDigitized-=1 ^
-CreateDate-=1 ^
-ModifyDate-=1 ^
-TrackCreateDate-=1 ^
-TrackModifyDate-=1 ^
-MediaCreateDate-=1 ^
-MediaModifyDate-=1 ^
-TimeStamp-=1 ^
*.CR3
And then I have converted the produced RAW files to JPEG. I saw that shooting date was unchanged and time was taken -1 hour back within my expectations.
I know that I can get the similiar exif data information with exiftool command tool but when I saw the result in JPEG format, I became more aware that I was not doing something wrong.
I will of course keep my original RAW files as a main backup version of my photos.
Best regards,
Ali
11/20/2025: New firmware updates are available.
EOS R6 Mark III - Version 1.0.1
EOS R5 Mark II - Version 1.2.0
PowerShot G7 X Mark III - Version 1.4.0
PowerShot SX740 HS - Version 1.0.2
10/15/2025: New firmware updates are available.
Speedlite EL-5 - Version 1.2.0
Speedlite EL-1 - Version 1.1.0
Speedlite Transmitter ST-E10 - Version 1.2.0
07/24/2025: New firmware updates are available.
07/23/2025: New firmware updates are available.
7/17/2025: New firmware updates are available.
02/20/2025: New firmware updates are available.
RF70-200mm F2.8 L IS USM Z - Version 1.0.6
RF24-105mm F2.8 L IS USM Z - Version 1.0.9
RF100-300mm F2.8 L IS USM - Version 1.0.8
RF50mm F1.4 L VCM - Version 1.0.2
RF24mm F1.4 L VCM - Version 1.0.3
Canon U.S.A Inc. All Rights Reserved. Reproduction in whole or part without permission is prohibited.