# FarPoint.Win.Spread.CellType.DateTimeFormat

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="FarPoint_Win_Spread_CellType_DateTimeFormat" data-uid="FarPoint.Win.Spread.CellType.DateTimeFormat" class="text-break">DateTimeFormat Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the formatting for date and time.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_DateTimeFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum DateTimeFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum DateTimeFormat</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="FarPoint_Win_Spread_CellType_DateTimeFormat_LongDate">LongDate</td>
        <td><p>Uses the long form for the date</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_DateTimeFormat_LongDateWithTime">LongDateWithTime</td>
        <td><p>Uses the long form for the date and time</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_DateTimeFormat_ShortDate">ShortDate</td>
        <td><p>Uses the abbreviated form for the date</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_DateTimeFormat_ShortDateWithTime">ShortDateWithTime</td>
        <td><p>Uses the abbreviated form for the date and time</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_DateTimeFormat_TimeOnly">TimeOnly</td>
        <td><p>Uses the time only (no date)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_DateTimeFormat_UserDefined">UserDefined</td>
        <td><p>Uses the user-defined date and time format</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
