Apple Photos on iphone curating media based on file creation date rather than date taken

Hi,

Noob here. This is possibly an extension of a previous post but I cannot open that one up to add. Thank you in advance for any advice on something that has plagued me for a week. I am kind of a self-appointed family archivist, with scans of photos going back to the 1900s, so obviously the file "Date Created" tag often bears no resemblance to the date of the original photo. Being able to arrrange chronologically is therefore important to me.


Anyhow, I bought an Apple iphone 15 pro with 500gb storage, wanting an easy way to present them. I thought i would start small, using c. 10k of photos only, taken mainly with a samsung note 8 (n950?). I store about 40k of them on a NAS, which I synchronise with other devices as required. Also using an hp zbook (500gb) to facilitate the synchronisation of photos stored by date taken (e.g. file name 20200118_12345) in folders named 2019-2024.


I began with just a few hundred files and was dead impressed with the personalised reels produced by the ai engine, justifying my purchase I thought. But I then noticed some date oddities where 2019 , 2020 etc., photos were appearing to have been taken last week. I assumed I had some integrity issues somewhere and set about comparing with the master data on the NAS and its backups. I refreshed the stock, wiped the sync and tried again.


At first I just bulk uploaded them from a single folder and the data seemed to arrive in sensible looking year order on the iphone. But then I noticed again that most of the photos had migrated to this year - and week in 2024. After a few synchronisations and much head-scratching over why this was happening, I sorted them into a "year" order structure and tried again, wiping out the "ipod" folder that gets created in the PC file structure to get a clean start each time.


Shortly after it completed its business, I realised something was going on with the Photos "curation" process and photos were being re-categorised based on the creation date of the photo rather than the date taken or other. So they mostly end up presented as having been taken last Tuesday, the date I copied them from the nas to the PC.


A feature of the way I am synchronising to this laptop is that when the photos arrive on my laptop from the nas, they acquire a new date created, although the other dates, taken, modified and just "Date", are preserved at the original values when taken and stored, although one or two can have a later "modified date". Some tags I can alter within the file which will alter the modified date, so that cannot be the "key" field. I am unable to easily modify the creation date, which seems to be system applied. I have yet to try a tool such as robocopy to see if it will preserve the original "date created", although this feels like something I shouldn't have to do, and in any event, it will not cater for the scanned files, although to be honest I would settle for the "modern" files taken digitally since 2003 being presented in the correct year. If no flexibility or remedy exists, I may have to look at another tool (adobe etc.) in order to turn my trove into movies. I have previously tried ACDSee, which categorised them successfully by year.


Thought I would reach out to the community before taking an axe to the project.

Happy Sunday!

g


iPhone 15 Pro Max

Posted on Apr 6, 2024 11:52 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 10, 2024 5:39 AM

Thanks again for the tips Matti. Unfortunately it seems GraphicConverter would require me to buy a Mac too, and I am not yet ready for that step! I just found I have Irfanview installed on my windows laptop that can handle some of this, and have just seen a tool MetaData++ that purports to do something similar for jpg and MP4. Will take a deep breath and dive in!


So in i dove!


MetaData++ didn't work for me but I found and using a "Bulk Rename Utility" (BRU), with which I modified all of my 2019 files to set the "created" date to be the "Taken" date. This fixed it for all files where there was a "Date taken" tag present, i.e. all the unmodified original photo files. A resync showed that all of the photos were now being correctly

interpreted based on the date they were shot. MP4 files however were still classified by Photos app based on the date they were first copied over, i.e. 2 April.


So then I used the BRU "Auto date" facility to change the "Accessed (Current)" date to reflect the - newly applied - 2019 created date (not April 2). Resync, but still could not override the iphone's determination that the files were shot on 2 April 2024.


There doesn't appear to be a "date taken" or DateTimeOriginal" tag on MP4 files that I can change using BRU. I looked also at a tool called Advanced Renamer, to ensure all available date fields were set to the original created date. Resync but still the MP4s were interpreted by Photos as being from April 2 2024. Head-scratch.


So I had a hunch to delete the "IPOD Photo Cache" which the "apple devices" program creates and populates on a windows machine when syncing. It appears to contain thumbnails of all synced files.


Presto! All media in Photos are now in the appropriate chronological order. Seems the ipod cache folder retains a tatooed date for MP4s that iphone Photos retains and doesn't seem to update when resyncing.


Thanks again Matti for the inspirational pointers. If I could donate I would!


Similar questions

6 replies
Question marked as Top-ranking reply

Apr 10, 2024 5:39 AM in response to gerfree

Thanks again for the tips Matti. Unfortunately it seems GraphicConverter would require me to buy a Mac too, and I am not yet ready for that step! I just found I have Irfanview installed on my windows laptop that can handle some of this, and have just seen a tool MetaData++ that purports to do something similar for jpg and MP4. Will take a deep breath and dive in!


So in i dove!


MetaData++ didn't work for me but I found and using a "Bulk Rename Utility" (BRU), with which I modified all of my 2019 files to set the "created" date to be the "Taken" date. This fixed it for all files where there was a "Date taken" tag present, i.e. all the unmodified original photo files. A resync showed that all of the photos were now being correctly

interpreted based on the date they were shot. MP4 files however were still classified by Photos app based on the date they were first copied over, i.e. 2 April.


So then I used the BRU "Auto date" facility to change the "Accessed (Current)" date to reflect the - newly applied - 2019 created date (not April 2). Resync, but still could not override the iphone's determination that the files were shot on 2 April 2024.


There doesn't appear to be a "date taken" or DateTimeOriginal" tag on MP4 files that I can change using BRU. I looked also at a tool called Advanced Renamer, to ensure all available date fields were set to the original created date. Resync but still the MP4s were interpreted by Photos as being from April 2 2024. Head-scratch.


So I had a hunch to delete the "IPOD Photo Cache" which the "apple devices" program creates and populates on a windows machine when syncing. It appears to contain thumbnails of all synced files.


Presto! All media in Photos are now in the appropriate chronological order. Seems the ipod cache folder retains a tatooed date for MP4s that iphone Photos retains and doesn't seem to update when resyncing.


Thanks again Matti for the inspirational pointers. If I could donate I would!


Apr 7, 2024 1:13 AM in response to gerfree

Photos uses the very fragile FileCreateDate as a last resort if no other date is available. FileModifyDate is always ignored.


Maybe the files do not have a proper internal metadata date? Check if there is the most important ExifIFD:DateTimeOriginal.


A few months ago I tested this and the date priority was in ascending order the following with ExifIFD:DateTimeOriginal priority 1 for the date and ExifIFD:OffsetTimeOriginal priority 1 for the time zone:


[MacOS]         FileCreateDate                  : 2001:01:01 12:00:00-05:00
[XMP-exif]      GPSDateTime                     : 2001:01:01 12:00:00-05:00
[XMP-xmp]       ModifyDate                      : 2001:01:01 12:00:00-05:00
[IFD0]          ModifyDate                      : 2001:01:01 12:00:00
[XMP-exif]      DateTimeDigitized               : 2001:01:01 12:00:00-05:00
[XMP-xmp]       CreateDate                      : 2001:01:01 12:00:00-05:00
[ExifIFD]       CreateDate                      : 2001:01:01 12:00:00
[XMP-exif]      DateTimeOriginal                : 2001:01:01 12:00:00-05:00
[XMP-photoshop] DateCreated                     : 2001:01:01 12:00:00-05:00
[ExifIFD]       DateTimeOriginal                : 2001:01:01 12:00:00

Time zone:

[Composite]     GPSPosition                     : 40.74842 -73.98561
[ExifIFD]       OffsetTimeOriginal              : -05:00


Some apps might very unpredictably grab a random date from that list -- sometimes the first or the last tag they happen to see and sometimes other tags might intervene getting the correct date (especially IPTC and XMP-photoshop dates combined with IPTCDigest have caused me to lose some hair but I digress).


See also:


Movie dates and Photos.app - Apple Community


Apr 10, 2024 1:31 AM in response to Matti Haveri

Thanks again for the tips Matti. Unfortunately it seems GraphicConverter would require me to buy a Mac too, and I am not yet ready for that step! I just found I have Irfanview installed on my windows laptop that can handle some of this, and have just seen a tool MetaData++ that purports to do something similar for jpg and MP4. Will take a deep breath and dive in!


Apr 9, 2024 11:20 PM in response to Matti Haveri

Thank you so much for this Matti, and for the additional link. Wish I'd seen that topic before posting. That kind of explains whats going wrong. I guess any photos app will take the same approach. It explains why the random reallocation might be happening. It sounds like simply modifying my "year" folders one by one to copy each file's date taken to the DateTimeOriginal field will fix it. But first I need to go back to school to learn exiftool and brush up on my command line skills! I have become quite gui-fied and it seems no simple tool exists. Will report back once done. Thanks again!

g

Apr 10, 2024 12:26 AM in response to gerfree

> modifying my "year" folders one by one to copy each file's date taken to the DateTimeOriginal field will fix it. But first I need to go back to school to learn exiftool and brush up on my command line skills


GraphicConverter can do many similar metadata edits as exiftool does via the Terminal (exiftool does have some extra very handy tweaks however).


If your files are already named as 20200118_12345, both apps can copy that date to the internal metadata dates. I use YYYY-MMDD-hhss.* pattern but exiftool is very flexible with a custom format).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple Photos on iphone curating media based on file creation date rather than date taken

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.