# GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.TypeOfDay

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_TypeOfDay_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.TypeOfDay*">TypeOfDay Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_TypeOfDay_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.TypeOfDay*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_TypeOfDay_System_DateTime_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.TypeOfDay(System.DateTime)">TypeOfDay(DateTime)</h4>
<div class="markdown level1 summary"><p>Returns the type of day for the specified date.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override DayType TypeOfDay(DateTime dateTime)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function TypeOfDay(dateTime As Date) As DayType</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></td>
      <td><span class="parametername">dateTime</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value indicates the date.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayType.html">DayType</a></td>
      <td><p>A GrapeCity.Windows.InputMan.DayType enumeration that represents the
type of day.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayBase.TypeOfDay.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayBase_TypeOfDay_System_DateTime_">HolidayBase.TypeOfDay(DateTime)</a></div>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_TypeOfDay_System_DateTime__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method will return the GrapeCity.Windows.InputMan.DayType.Holiday if the date is a holiday, otherwise, a GrapeCity.Windows.InputMan.DayType.Normal will be returned.</p>
</div>
</div>
