#1 2007-03-24 05:34

Saturn2888
Member
Registered: 2007-03-04
Posts: 26

How do I change the time to account for Day Light Savings in the EXIF?

Hi again. One of my cameras has the EXIF time one hour early because of Day Light Savings in the United States. Is there a way to make all of the hours go forward one?

I was able to do this by making a bunch of Replace rules, 20. to 21., 19. to 20., and so on, but the EXIF is still going to be wrong, and THAT's what I need to figure out how to change. tongue

Last edited by Saturn2888 (2007-03-24 05:40)

Offline

#2 2007-03-24 14:52

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: How do I change the time to account for Day Light Savings in the EXIF?

You remember the JHEAD tool I was telling you about?

I've already posted the links in your previous topic:
Camera A's date is 1 year behind, can I change the EXIF data.
Bulk changing of jpeg exif header data
Jhead command line options

To add 1 hour to exif date in your photos: jhead -ta+1:00 *.jpg
Change year to 2007: jhead -ds2007 *.jpg

Tell me how it goes, ok?

Offline

#3 2007-03-24 20:38

Saturn2888
Member
Registered: 2007-03-04
Posts: 26

Re: How do I change the time to account for Day Light Savings in the EXIF?

I didn't know JHEAD was a program roll.
I got it to work just fine, but not for the files I wanted it to work with. Somehow it replaced all the 2005s on my desktop to 2007 even though it was in a different folder. That didn't bother me, but it was strange.

I found out the problem. I was dragging and dropping the EXE file into command prompt and it was then running jhead as if it were on my desktop because I had the desktop folder open. Laziness doesn't always do what you want.

Upon checking, the dates are finally correct!

Offline

#4 2007-03-25 11:04

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: How do I change the time to account for Day Light Savings in the EXIF?

Im not sure how you managed to change files on your desktop, but I hope you understand that when you run jhead -ds2007 *.jpg - it will rename all *.JPG files in the current working directory, from where you lunched JHEAD. If you want to rename files from some particular directory, you have to specify the whole path, e.g.: jhead -ds2007 "C:\My Pictures\Some Event\*.jpg".

Anyway, Im glad you have finally put this program to use wink

Offline

#5 2012-05-29 22:21

lvoverbeek
Member
Registered: 2012-05-22
Posts: 1

Re: How do I change the time to account for Day Light Savings in the EXIF?

I want to change the hours into one hour less......
First I put the date and time for my picture name with insert, like this 2012-05-20 19.28.00_IMG001258.jpg
After that I want to change the hours in 1 hour less, with the function pascalscript in renamer, like this:
Begin
// jhead -ta-1:00 *.jpg
End

But it doesn’t work.

I check the links you send me in the mail. But I don’t understand what the steps are in renamer.

Can someone tell me what are the right steps in renamer?

Offline

#6 2012-05-31 21:04

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: How do I change the time to account for Day Light Savings in the EXIF?

jhead is a command line tool which changes the Exif tags within the file. It needs to be executed in the Windows Command Prompt (not in ReNamer).

Here is more information on how to use jhead tool: http://www.sentex.net/~mwandel/jhead/

ReNamer can then extract that information using the ":EXIF_Date:" tag.

Offline

#7 2014-04-02 23:30

jkaspar859
Member
Registered: 2014-04-02
Posts: 1

Re: How do I change the time to account for Day Light Savings in the EXIF?

How can you simply change the hour on the "modified" column to one hour earlier?

Offline

#8 2014-04-03 14:01

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: How do I change the time to account for Day Light Savings in the EXIF?

jkaspar859 wrote:

How can you simply change the hour on the "modified" column to one hour earlier?

The "modified" column displays the last modified time of the file. ReNamer is designed to rename files, not to modify content or file properties. However, it is still possible to do that with a script as mentioned here: How can i change an time stamp of a file? But I would recommend using a different tool which was designed for this task.

Offline

Board footer

Powered by FluxBB