# C1.Win.C1Input.DateTimeStyleFlags

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_C1Input_DateTimeStyleFlags" data-uid="C1.Win.C1Input.DateTimeStyleFlags" class="text-break">DateTimeStyleFlags Enum
</h1>
  <div class="markdown level0 summary"><p>Used by ParseInfo.DateTimeStyle property.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_DateTimeStyleFlags_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
[TypeConverter(typeof(DateTimeStylesConverter))]
public enum DateTimeStyleFlags</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
&lt;TypeConverter(GetType(DateTimeStylesConverter))&gt;
Public Enum DateTimeStyleFlags</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_C1Input_DateTimeStyleFlags_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_C1Input_DateTimeStyleFlags_AllowLeadingWhite">AllowLeadingWhite</td>
        <td><p>Indicates that leading white space characters must be ignored during parsing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_DateTimeStyleFlags_AllowTrailingWhite">AllowTrailingWhite</td>
        <td><p>Indicates that trailing white space characters must be ignored during parsing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_DateTimeStyleFlags_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_C1Input_DateTimeStyleFlags_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_C1Input_DateTimeStyleFlags_None">None</td>
        <td><p>Indicates that the default formatting options must be used.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
