photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: frankdarwin on January 27, 2022, 09:45:05 PM

Title: Search for photos with identical date and time
Post by: frankdarwin on January 27, 2022, 09:45:05 PM
I have many photos where the "Create Date" and the "Date Subject Created" are identical. This is probably because I edited these photos with another program at some point and didn't pay attention to the metadata yet.

Can I search or filter for files where this is true?
Title: Re: Search for photos with identical date and time
Post by: thrinn on January 27, 2022, 10:04:57 PM
Yes, you can.
Create a Data-driven category based on "Variable". Instead of a single variable, enter the following nested expression in the field for "Variable":
{File.MD.XMP::xmp\CreateDate\CreateDate\0|format:YYYY-MM-DD;datecomp:eq,{File.MD.XMP::photoshop\DateCreated\DateCreated\0|format:YYYY-MM-DD},yes,no}

This should give you yes / no sub categories, containing the pictures where both dates match or not, respectively.

See this help topic (https://www.photools.com/help/imatch/#var_basics.htm?dl=h-228) for explanation of the datecomp function.
Title: Re: Search for photos with identical date and time
Post by: frankdarwin on January 27, 2022, 10:24:07 PM
Hi Thorsten,

thank you for the very quick reply!