title: Set 24-hour time format for TimePicker
body: <p>I'm building an MVVM Light WPF app in Visual Studio 2015 using the <a href="https://github.com/ButchersBoy/MaterialDesignInXamlToolkit" rel="nofollow noreferrer">Material Design in XAML Toolkit</a>. Here's the <code>TimePicker</code> control:</p>
  
  <pre><code>&lt;materialDesign:TimePicker Is24Hours="True" /&gt;
  </code></pre>
  
  <p>Here's what the control looks like when you click it:</p>
  
  <p><a href="https://i.stack.imgur.com/ruxm7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ruxm7.jpg" alt="TimePicker open"></a></p>
  
  <p>Note that it shows the time in 24-hour format correctly. However, when you select that time and return to the field, it displays it as non-24-hour time, with AM/PM:</p>
  
  <p><a href="https://i.stack.imgur.com/jm7b7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jm7b7.jpg" alt="TimePicker closed"></a></p>
  
  <p>Is there any way to force the control to display the time in 24-hour format? Thanks.</p>