ExifTool Forum

General => Metadata => Topic started by: neebah on October 02, 2016, 09:57:58 PM

Title: new exif 2.31 offsettimeoriginal tag
Post by: neebah on October 02, 2016, 09:57:58 PM
Is there a way I can input these new tags from the GPS DateStamp and TimeStamp. 
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: Phil Harvey on October 03, 2016, 07:53:13 AM
The attached config file will calculate a TimeZone tag from these for you.

- Phil
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: Happy Hobo on September 15, 2022, 12:09:43 PM
I ranexiftool -config (path)/time_zone.config imagebut the file isn't changed and I don't see a time zone on stdout.

Where do I look for it?  It's going to take me some time to learn how to read such a file.
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: Phil Harvey on September 15, 2022, 08:40:09 PM
There was a problem with that attached config file -- it didn't properly generate the TimeZone tag.

Also, there have been a number of improvements since this post.  click here (https://raw.githubusercontent.com/exiftool/exiftool/master/config_files/time_zone.config) to see the current version of this file.  I've also attached the updated version here.

- Phil
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: blue-j on September 15, 2022, 08:52:11 PM
Oh yes, that one works!  Thanks, Phil!  - J
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: blue-j on September 15, 2022, 09:14:03 PM
I am wondering about the relation between GMT offset and time zone. Can you help? It seems you cannot infer time zone from offset. Am I misunderstanding the output of this config?

I read this and have spun out...

https://stackoverflow.com/questions/13763433/gmt-offset-to-php-timezone

- J
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: blue-j on September 15, 2022, 11:38:59 PM
https://spin.atomicobject.com/2016/07/06/time-zones-offsets/
Title: Re: new exif 2.31 offsettimeoriginal tag
Post by: Phil Harvey on September 16, 2022, 10:23:12 AM
It depends on what you are calling time zone.  If you mean something like -05:00 then it is the offset.  But if you mean something like EST5EDT, then no, you can't infer this from the offset.

- Phil