You can switch between a 12-hour clock and a 24-hour clock in the "Language & Region" section of the System Preferences menu. This is also dictated by the region you've selected. If you want to customize the way your clock is laid out, you can shuffle the elements to your content.
Turning on 24-Hour Time
Click the Apple menu.
Click “System Preferences.”
If you are not taken to the main System Preferences menu, click the “Show All” button at the top of the window.
Click “Language & Region.”
This icon can be found in the top row and has a flag for an icon.
Click the “Time format” box.
This will toggle between 24-hour time and 12-hour time.
Click the “Region” menu to change your country.
This will change your time and date formats automatically to match the country standard.
Creating a Custom Format
Click the Apple menu.
Click “System Preferences.”
You may already open to the “Language & Region” menu if you followed the previous method. If not, click the “Show All” button at the top of the window.
Click the “Language & Region” option.
This will open your Mac’s region settings.
Click the “Advanced” button.
Click the “Times” tab.
Click and drag elements to customize the different formats.
These different lengths are used in different areas of the system.
Click the menu for each element to customize it.
This lets you select how the data is displayed. For example, clicking the minutes element can let you pick between “08” and “8” for the time.
Type custom labels for “AM” and “PM.”
You can switch the before noon and after noon labels to whatever you’d like.