ExifTool Forum

ExifTool => Newbies => Topic started by: Tr on January 31, 2014, 01:13:55 PM

Title: -d FMT for 'IPTC:DateCreated'
Post by: Tr on January 31, 2014, 01:13:55 PM
Seems like -d FMT does not work for 'IPTC:DateCreated'.  Was this by design ?

Thanks.

exiftool -all -d "%Y-%m-%d" hs-2008-02-b-full-tif.tif | grep Date
File Modification Date/Time     : 2014-01-31
File Access Date/Time           : 2014-01-31
File Inode Change Date/Time     : 2014-01-31
Modify Date                     : 2007-12-13
Create Date                     : 2007-12-13
Metadata Date                   : 2011-03-03
Date Created                    : 2008:01:08
Profile Date Time               : 1999-06-03


Title: Re: -d FMT for 'IPTC:DateCreated'
Post by: Phil Harvey on January 31, 2014, 02:21:50 PM
The -d option works only for date/time tags, but unfortunately IPTC:DateCreated does not qualify.

If IPTC:TimeCreated also exists, then you can apply -d to ExifTool's Composite DateTimeCreated tag, which is derived from DateCreated and TimeCreated.

- Phil