Photos taken by different cameras out of order

I returned from a trip and have 1000 photos, some taken with my iPhone and some with my Canon. I had adjusted the Canon date/time to match the iPhone date/time early on. I am now reviewing the photos in Photos in oldest sort order. I notice that even tho the pics are taken at about the same time, the iPhone and Canon pics are separated quite a bit == for instance, iPhone photo taken 7/13/24 at 11:01:46 am is separated from and comes before the Canon photo taken at 7/13/24 10:57:27 am, which comes later in the sequence. One reason I took photos by both was to figure out what is going on [happened on earlier trip, but I hadn't changed the camera's time/date so it's taking more to work on] -- so, same dates, seconds apart, the older one comes before the newer pic. And they are separated by a few totally different locations == on looking at things a bit more, it seems the iPhone pics come first in order and then the Canon ones == but I don't want it like that - I want it totally and only sorted by date/time order.



MacBook Pro (M1, 2020)

Posted on Jul 26, 2024 3:32 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 26, 2024 12:25 PM

The big problem is, that Photos will not show the time zone associated with the date and time it is showing in the info. When you are seeing a date and time in the info, the timezone for the time is not necessarily the timezone of the location the photo has been taken. To see the timezone, you have to open the "Image > Adjust date and time " dialog for this photo and look at the "closest city" in the adjust panel. Only then you can compare the date & time correctly.


I am using brute force to make Photos display all times with a timezone suffix:


But it requires to use a Terminal Command to change the default date and time format. You may not want to modify the system defaults. But then the "Image > Adjust date and time " panel is the only place, where you can see the timezone assigned for each photo on import.


I have used this Terminal command:

defaults write NSGlobalDomain AppleICUTimeFormatStrings -dict-add "2" "HH:mm:ss z"


See: https://discussions.apple.com/thread/254316210?answerId=258235462022#258235462022



Similar questions

21 replies
Question marked as Top-ranking reply

Jul 26, 2024 12:25 PM in response to Richard.Taylor

The big problem is, that Photos will not show the time zone associated with the date and time it is showing in the info. When you are seeing a date and time in the info, the timezone for the time is not necessarily the timezone of the location the photo has been taken. To see the timezone, you have to open the "Image > Adjust date and time " dialog for this photo and look at the "closest city" in the adjust panel. Only then you can compare the date & time correctly.


I am using brute force to make Photos display all times with a timezone suffix:


But it requires to use a Terminal Command to change the default date and time format. You may not want to modify the system defaults. But then the "Image > Adjust date and time " panel is the only place, where you can see the timezone assigned for each photo on import.


I have used this Terminal command:

defaults write NSGlobalDomain AppleICUTimeFormatStrings -dict-add "2" "HH:mm:ss z"


See: https://discussions.apple.com/thread/254316210?answerId=258235462022#258235462022



Aug 13, 2024 1:16 AM in response to Victoria Herring

As Matti explained - when we change the timezone in adjust Date and Time, Photos will just subtract the timezone offset from the "Date &Time original", so the capture time will be converted to the new time zone, but will remain the same moment in time.


If a camera has been set to a different timezone than Photos guessed on import, but the clock setting has been correct, and we want to tell photos the correct timezone the camera has been set to, we need to do this in two steps in "Adjust Date & Time":


  • First select the correct timezone and closest city - Photos will shift the "Time Adjusted" by the Timezone offset
  • Then set the "Time Adjusted" back to the Time Original", so they are the same.


For example, for the picture below the timezone has been set to "Nairobi" in the camera, when the picture has been taken, so I ensured, that the date adjusted and the date original are the same, with the timezone set to Nairobi.


Now the photo will be sorted correctly in Photos.

When I want to convert the displayed time for correctly sorted photos to a different timezone, I just have to change the timezone in Image > Date & Time, without modifying the "Adjusted" time afterwards. This will not change the sort order in Photos.


Jul 26, 2024 3:48 AM in response to Victoria Herring

1. Image's internal metadata 'ExifIFD:DateTimeOriginal' sets the date and time.


Image's time zone is set using the computer's time zone location. If present, the following internal metadata tags override previously mentioned time zone, and they might affect sorting up to ±12 hours if they happen to be present in some image:


2. 'GPS' location sets the time zone.


3. If 'ExifIFD:OffsetTimeOriginal' exists, it overrides all other time zone tags above.


For more details:


Movie dates and Photos.app - Apple Community


Aug 12, 2024 11:48 AM in response to Victoria Herring

So Canon images are incorrectly set at -05:00 instead the correct +02:00 (Croatia is +02:00 DST) and because of that its images appear 7 hours later than they are supposed to.


Was Canon incorrectly set to New York time zone, or some neighbor western time zone with Daylight Savings set ON? The RAW + JPEG pair might produce its own glitches to the time zones Photos reads, though (I edit raw in Lightroom and import only edited .jpg to Photos). Photos seems to ignore Canon raw's proprietary TimeZone and TimeZoneCity while it reads the edited .jpg OffsetTimeOriginal. Did you edit raw outside Photos?


You might tweak the Canon images time zone in Photos to set them straight.

Jul 26, 2024 12:08 PM in response to Victoria Herring

If these were my pictures (and I have had way worse!) I would


  1. import all the pictures from the SD cards to my Photos Library, and I'd
  2. put them all in a "San Marino Cruise" album. Then I'd
  3. make a Smart Album to collect the Canon pictures together. Then I'd
  4. select all those in the Canon Smart Folder, and I'd
  5. use the "Image ➙ Adjust Date and Time" menu choice that Old Toad suggested, and I would
  6. add 4 minutes and 19 seconds to the time for the Canon pictures. Then I'd
  7. make sure that I had set View>Sort to Keep Sorted by Oldest First.


Keep in mind that in #4, you've selected all, but the menu expects you to change only the first one, and it will change the other by the same amount.


Have you done this? Does it work, and if not, how is it not right?


Aug 12, 2024 12:31 AM in response to Victoria Herring

Victoria Herring wrote:

I am comparing pics taken at close to the same time and time zone

As léonie suggested, enable time zone display via the Terminal (just copy & paste the line below to the Terminal window and press enter) and re-launch Photos. Then see if there is any difference in Photos Get Info that might explain the issue.


defaults write NSGlobalDomain AppleICUTimeFormatStrings -dict-add "2" "HH:mm:ss z"


Jul 26, 2024 2:20 PM in response to Victoria Herring

Of course, léonie is right-- you have to add 4 minutes and 19 seconds and also account for the time zone difference by backing off the right number of hours.


I would do it in 2 steps-- add 4 minutes and 19 seconds and get that done, and then go back to try changing the hour. If you know the difference in time zones, start there. Daylight time could add a 1 hour complication. Probably trial and error is the fastest way to get to the right order.



Jul 26, 2024 8:33 AM in response to Victoria Herring

You can use a Smart Album to get all the Canon pictures together like this:

Here, I didn't type in Nikon Z 8; rather I scrolled to find the right camera model.


Once you get all the Canon pictures together, you can select all and change them all at once. It will show you the time for the first picture of the selection, so be prepared to correct that one. And then the time for all the others will change accordingly. Sometimes I mess it up and have to nudge the timing a couple of times.


Your camera may not have GPS built in. My Nikon has an app that reads GPS on my iPhone and sends that to the camera. When I'm taking pictures away from the phone, I have to fake it manually.


Jul 26, 2024 1:03 PM in response to Richard.Taylor

The iPhone is the fastest camera I have and frequently the only camera I am having with me.

I think our problem here, though, is 4 minutes and 19 seconds.

Plus and unknown timezone offset of an one ore more hours to explain the incorrect sorting.

I am not sure at all, if the few seconds are the full time difference, if both pictures have been imported with a different timezone assigned, as long as Victoria has not checked the timezones for the incorrectly sorted photos.


Aug 12, 2024 1:22 PM in response to Victoria Herring

OK - I have gone thru all the Canon pics and adjusted the timezone [after doing the Terminal command] and they are all now correct = basically GMT+2 or +3 - from Venice to Athens - then looked at the compiled iPhone and Canon pics and they're still a bit out of whack but it might not take a major effort to fix it [I hope]

Basically I took these 2 pics at same time in same place in Venice= iPhone says it's 19:13:17 GMT+2 [which it was, having dinner] -- Canon says it's 3:43:26, same GMT but AM time, not PM time - so, not sure but assume that now that I've fixed the Timezone selection what I can/should do is go into Canon pics - first one or all of them??? and change time to basically the same time [ie 19 being the hour] - doesn't make much sense to me really but seems like that might work.


Jul 26, 2024 4:31 AM in response to Matti Haveri

Thank you so much - I did a get info on the two pics taken close together in time, opened in Photos on my Macbook Pro== the iPhone does have the ability to note location but the Canon, as presently set [not sure I can get the GPS set on it] does not. The date and times therefore seem to control. I'll look at your cite in greater detail and see what i can figure out today. It's just a bit irritating that Pic 1 taken at a few seconds apart from #2 is separated by around 10 pics from Pic 2. And it happens throughout the album...appreciate the info .

Jul 26, 2024 11:41 AM in response to Old Toad

yes - each night I synced iPhone photos with cloud and brought in Canon SD card photos to iPad & synced them to cloud. Today I just created a new Photos library solely for Canon pics from this trip [542 total] - so imported what was on the cards into Photos today in CST - but no change in time/date at all

This screen shot is of the Canon card to iPad and then to Photos process on the date the pic was taken [in Italy time zone]


The screenshot is of the Canon card directly brought into the new Canon Photos library on my Macbook Pro today, CST.


Same date, same time - so no change in date/time of the photo whether I brought it into Photos on 7/13 or today.


The same photo taken by the iPhone is same date, time is 11:01 and yet it shows up in the batch of photos separated by 10 or so pics from the same photo by the Canon taken at 10:57...


I realize we are talking about mere seconds but what happens then is photos of the same thing by iPhone and Canon end up being separated and out of order -- for instance I have about 10 pics of a march down a street by the iPhone and about the same number taken at same time in same place by the Canon separated by some 30 or so pics.


It's as if Photos puts the iPhone pics regardless of time ahead of Canon pics - same date, but sequencing is all off. What I want [which may be impossible] is to have same pics of same thing together regardless of the camera used. I would think that a pic at 10:57 would be just before one at 11:01, but it's not.


Aug 12, 2024 11:43 AM in response to Matti Haveri

Thank you - what I did was once I got to Venice I checked my Apple Watch and iPhone and then changed the Canon time to the same time = I thought I editted the timezone also but can't tell since being home it's back on Chicago time = tho I did note that today it says 21 hours when it's 1pm....hmmmm -- I'll test the adjustments and see if that helps == thanks.

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.

Photos taken by different cameras out of order

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