Enabling the 24-hour clock
The UseTwelveHourClock key specifies whether the 12-hour or 24-hour clock is used.
To use the 24-hour clock, and hide the AM and PM indicators, set UseTwelveHourClock to false.
<appSettings>
<add key="UseTwelveHourClock" value="false" />
</appSettings>
Default value
When the setting is not defined, the 12-hour clock is used.
See also