IOS – How did iPhone 4 know to switch timezone in Airplane Mode

clockgeolocationiosiphonetimezone

I have both an iPhone 4 (from work) and an iPhone 3GS (personal). Today I took a cross country flight from BOS to LAX. Upon boarding the plane this morning, after having stayed up all night packing (and procrastinating from packing), I stowed my bags, put my iPhones in Airplane Mode, and promptly fell asleep. When I woke up after what felt like a long time, I checked the time on my iPhone 4 and was disappointed that only two hours had apparently passed. Then I flipped on the flight map and was surprised to see that we were soon to descend into Los Angeles.

Somehow, despite being in my pocket in Airplane Mode the entire flight, the iPhone 4 had adjusted its clock to the Pacific timezone. Meanwhile, the iPhone 3GS had not. It was still on Boston time.

How did the iPhone 4 know to do this while in Airplane Mode?

Best Answer

Since your phone is a Verizon iPhone, it got the time from the cell towers. (Verizon, along with Sprint and unlike AT&T and T-Mobile, uses CDMA which broadcasts the local time from the cell towers.)

It must be that Airplane Mode is actually "don't transmit" mode instead of "don't transmit or receive" mode as I'd always assumed.

Edit my reasoning:

  1. I know that CDMA phones get the local time from the cell towers (if you're driving, you can watch your phone switch time zones as you cross the border).
  2. I also know that cell towers broadcast their availability so they can be found by phones. It makes sense, then, that the time signal might be in this broadcast signal.
  3. One of the reasons Airplane Mode exists is to prevent transmissions from potentially disrupting aircraft systems.
  4. Turning off transmit functionality does not necessarily preclude receiving data. Leaving receive on may actually be a benefit, as the phone can passively monitor cell towers in the area so as to know which one it wants to talk to when/if Airplane Mode is turned off.
  5. If you're passively listening to the towers already and they're broadcasting the time anyway, it would be logical to update the system time to whatever local time is since you already have the data available and you can give the user the most accurate information possible.