ExifTool Forum

ExifTool => Newbies => Topic started by: Microfiche on November 04, 2024, 09:22:49 PM

Title: Trying to figure out in a hurry
Post by: Microfiche on November 04, 2024, 09:22:49 PM
So i didn't adjust my timezones on EITHER my GoPro or Olympus tough camera and I have slogged my way through fixing the dates, but I just have one question that I maybe should have asked BEFORE I did this...
When adjusting to a time zone where the day changes - i.e. the day should be today, but it shows as tomorrow, is it always a 2 step process where I have to do something like:
exiftool -time:all+="0:0:0 9" *.jpg, AND
exiftool -time:all-="0:0:1 0" *.jpg
To move the day back and increase the time?
I can't just move the time back 15 hours, or adjust the day back and the hour forward in one step?

Thanks!
Title: Re: Trying to figure out in a hurry
Post by: StarGeek on November 04, 2024, 10:28:57 PM
Quote from: Microfiche on November 04, 2024, 09:22:49 PMI can't just move the time back 15 hours

Why do you think you can't?

C:\>exiftool -G1 -a -s -DateTimeOriginal y:\!temp\Test4.jpg
[ExifIFD]       DateTimeOriginal                : 2024:11:05 12:00:00

C:\>exiftool -P -overwrite_original -time:all-=15 y:\!temp\Test4.jpg
    1 image files updated

C:\>exiftool -G1 -a -s -DateTimeOriginal y:\!temp\Test4.jpg
[ExifIFD]       DateTimeOriginal                : 2024:11:04 21:00:00

You can shift -15 hours or -900 minutes or even -54000 seconds.

For more details on shifting time, see the ExifTool Date/Time Shift Module page (https://exiftool.org/Shift.html).

One thing to remember though, is that most video time stamps are supposed to be UTC, not local time.