# C1.Win.Input.DateTimeStyles

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_Input_DateTimeStyles" data-uid="C1.Win.Input.DateTimeStyles" class="text-break">DateTimeStyles Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies parameters for parsing a datetime string.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.html">C1.Win.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_DateTimeStyles_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum DateTimeStyles</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum DateTimeStyles</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_Input_DateTimeStyles_AllowInnerWhite">AllowInnerWhite</td>
        <td><p>Indicates that extra white space characters in the middle of the string must be ignored during parsing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_DateTimeStyles_AllowLeadingWhite">AllowLeadingWhite</td>
        <td><p>Indicates that leading white space characters must be ignored during parsing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_DateTimeStyles_AllowTrailingWhite">AllowTrailingWhite</td>
        <td><p>Indicates that trailing white space characters must be ignored during parsing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_DateTimeStyles_AllowWhiteSpaces">AllowWhiteSpaces</td>
        <td><p>Indicates that extra white space characters anywhere in the string must be ignored during parsing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_DateTimeStyles_NoCurrentDateDefault">NoCurrentDateDefault</td>
        <td><p>Indicates that, if the parsed string contains only the time and not the date, the parsing methods
assume the Gregorian date with year = 1, month = 1, and day = 1. If this value is not used, the current date is assumed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_DateTimeStyles_None">None</td>
        <td><p>Indicates that the default formatting options must be used.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
