TimeZoneOffset, signed short integer -- number of hours?

Started by Archive, May 12, 2010, 08:53:53 AM

Previous topic - Next topic

Archive

[Originally posted by hippiness on 2006-04-09 11:06:32-07]

Hi again.  Having posted about the Canon RAW TimeZoneCode, which is a 32-bit value to store the time zone offset in seconds, I am here to clarify the nature of TimeZoneOffset.  Is this offset in hours?  The answer might seem obvious, but aren't there half-hour timezones?

Archive

[Originally posted by exiftool on 2006-04-09 13:25:23-07]

The EXIF:TimeZoneOffset (0x882a) tag is a later addition, and not part of the original EXIF specification, so I would expect support for this tag to be poor.  As well, it appears to be ill-conceived, because it specifies the offset in hours from GMT.  So you are right, you're totally out of luck if you live in Newfoundland.  The documentation I found for this tag states it may be 1 or 2 values, the first value is the offset for DateTimeOriginal (0x9003), and the second, if present, is the offset for ModifyDate (0x0132).  But currently, ExifTool only allows you to write a single value.  (I should change that...)