News:

2023-08-10 - ExifTool version 12.65 released

Main Menu

Support UTC

Started by Quant007, July 01, 2020, 11:00:05 AM

Previous topic - Next topic

Quant007

Hallo,
I use the following commandline for a jpg:
exiftool -DateTimeOriginal>CreateDate -DateTimeOriginal>FileModifyDate -DateTimeOriginal>FileCreateDate ....
As a result I get:
---- File ----
File Modification Date/Time     : 2020:01:03 11:23:50+01:00
File Creation Date/Time         : 2020:01:03 11:23:50+01:00

---- EXIF ----
Date/Time Original              : 2020:01:03 11:23:50
Create Date                     : 2020:01:03 11:23:50

If the file is created in winter the offset is +1 an in summer the offset is +2.
How can I get the information witch offset is stored in the file?
Best regards
Quant007

StarGeek

The EXIF tags you list don't have a time zone, only the system time stamps.  Those tags are from the underlying operating system and that is what figures out the time zone.

To list just them, you could use the %z code with the -d (dateFormat) option. See Common Date Format Codes for all date format codes.

Example
C:\>exiftool -time:all -g1 -a -s -d "%z" y:\!temp\Test4.jpg
---- System ----
FileModifyDate                  : -0700
FileAccessDate                  : -0700
FileCreateDate                  : -0800
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).