Search code examples
iostimeios-simulatordate-formattingtime-format

Is it possible to change the iOS Simulator to use 24 hour time?


I'm trying to debug a potential issue in the iOS Simulator (v 7.0) which requires the iPad to be running in 24-hour time mode. Obviously, the option is not available to change in the simulator itself and changing the time mode on my host system didn't do the trick either.

Any advice on making this change? Is it even possible? Seems like a pretty basic thing but for the life of me I can't figure it out.


Solution

  • If you switch the region format to a country that uses 24-hour time as a standard (e.g. France) inside the simulator then it should work for you.

    Go to Simulator / Settings App / General / Language & Region / Region / Select the Region

    You can use France for 24-hour time, or Hong Kong for 12-hour time.