title: How do you set the DateTime format string in Newtonsoft?
body: <p>I'm trying to get Newtonsoft to convert a string to a DateTime. This is the string:</p>
  
  <pre><code>13/02/2019 05:13
  </code></pre>
  
  <p>I <strong>try</strong> to tell Newtonsoft how to do this by using one of these:</p>
  
  <pre><code>var dateTimeConverter = new IsoDateTimeConverter { DateTimeFormat = "dd/MM/yyyy HH:mm" };
  var converters = new List&lt;JsonConverter&gt;() { dateTimeConverter };
  JsonConvert.DefaultSettings = () =&gt; new JsonSerializerSettings
  {
      Converters = converters
  };
  </code></pre>
  
  <p>or</p>
  
  <pre><code>JsonConvert.DefaultSettings = () =&gt; new JsonSerializerSettings
  {
      DateFormatString = "dd'/'MM'/'yyyy' 'HH':'mm"
  };
  </code></pre>
  
  <p>and of course it will just go right ahead and tell me that's fine and then blow up as it tries to process the second day of the thirteenth month.</p>
  
  <p>I need this to work globally. How do I get Newtonsoft to do this?</p>