News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Forgot to switch off Daylight Savings option

Started by Erni76, December 26, 2013, 06:12:59 PM

Previous topic - Next topic

Erni76

Hello All,

I forgot to switch off Daylight Savings option in my camera.
As a result of it I have a lot of pictures with wrong time in it.

Here is a example:
ExifTool Version Number         : 9.45
.
Date/Time Original              : 2013:12:25 23:11:38
Create Date                     : 2013:12:25 23:11:38
.
Daylight Savings                : Yes
.
Create Date                     : 2013:12:25 23:11:38.80
Date/Time Original              : 2013:12:25 23:11:38.80
Modify Date                     : 2013:12:25 23:11:38.80


Here is what i expect:
ExifTool Version Number         : 9.45
.
Date/Time Original              : 2013:12:25 22:11:38
Create Date                     : 2013:12:25 22:11:38
.
Daylight Savings                : No
.
Create Date                     : 2013:12:25 22:11:38.80
Date/Time Original              : 2013:12:25 22:11:38.80
Modify Date                     : 2013:12:25 22:11:38.80


Is there any simple way to adjust all above tags in batch of files using exiftool.exe tool?
Thanks in advance for any help :)

Arnold


Phil Harvey

Hi Arnold,

The basic command to move back the common date/time values by one hour is:

exiftool -alldates-=1 DIR

where DIR is the name of the directory containing the images.  AllDates is a Shortcut tag representing the common EXIF date/time tags.

I just discovered today that I had this exact same problem with one of my cameras, and this is the command that I used to fix the images:

exiftool -alldates-=1 -filemodifydate-=1 -ext jpg -if '$model=~/K-5/ and $datetimeoriginal ge "2013:11:04"' -overwrite_original -r /Users/phil/Pictures

(note that I am on a Mac, so I used single quotes.  Windows users should swap the single for double quotes, and visa versa.)

Read up in the application documentation if you are wondering what any of these options are for.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Erni76

Hi Phil,

Thanks a lot for your help and quick respond.
With this documentation in html it will be much easier
to work out meaning of all those option than looking for it in a cmd window  ;)

Thanks a lot and Happy New Year  :)
PS.  Your software is awesome  ;D

- Arnold