title: is there a way to ignore part of a datetime string when using DateTime.TryParseExact?
body: <p>My datetime string looks like this </p>
  
  <pre><code>19430403000000-0400
  </code></pre>
  
  <p>But I only care about the values before the dash (i know its UTC offset, but I don't require that offset value)</p>
  
  <p>So I want to use DateTime.TryParseExact if possible since I have a class that already implements it where the user passes the datetime format as string</p>
  
  <p>So for this I want something like</p>
  
  <pre><code>"yyyyMMddhhmmss-####"
  </code></pre>
  
  <p>where the user can ignore parts of the string format</p>
  
  <p>Is that possible?</p>