title: Bootstrap DateTimePicker format
body: <p>I am coding a MVC 5 internet application and am using the <a href="https://github.com/Eonasdan/bootstrap-datetimepicker" rel="nofollow">bootstrap-datetimepicker</a> in a view.</p>
  
  <p>My application is being used internationally and I would like to format the datetimepicker to have the correct format for each user. I have the culture and the timezone for each user, how is the best way to format the datetimepicker to the correct user's format? Should I use the format property, locales, or a different technique?</p>
  
  <p>I am currently getting the <code>DateTimeFormat</code> object from a <code>Culture</code> object. This has the following values:</p>
  
  <pre><code>ShortDatePattern
  
  ShortTimePattern
  </code></pre>
  
  <p>I am then trying to set the datetimepicker as follows:</p>
  
  <pre><code>$(function () {
      $('#displayMapLocationStartDate').datetimepicker(
      {
          format: '**combination of culture object**',
      });
  });
  </code></pre>
  
  <p>Is this the best way to write the code for the datetimepicker to be in the correct format for each different user's culture? If not, how should this be done?</p>
  
  <p>Thanks in advance.</p>