So I'm looking for the command to change from 12h to 24h. Is there even such a command? I mean I can do it with the GUI but I need to be able to do it via terminal so I can put it in a bash script.

Here I want instead of the 12h format a 24h format.
|
|
This is stored in the plist located at Here's a quick primer:
12 Hour Mode with AM/PM
12 Hour Mode without AM/PM
24 Hour Mode To apply any of these formatting strings, you can either use the To apply these via the Terminal, open it up and run the following command:
Substitute the string between the quotes with the version from above that you want. The changes don't take effect immediately after running the command, I know you can logout/log back in for the change to be made, but I'm not aware of how to apply it immediately. |
|||
|
|