# FarPoint.Win.SuperEdit.GeneralFormatter.DecodeDateString

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_SuperEdit_GeneralFormatter_DecodeDateString_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.DecodeDateString*">DecodeDateString Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_SuperEdit_GeneralFormatter_DecodeDateString_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.DecodeDateString*"></a>
<h4 id="FarPoint_Win_SuperEdit_GeneralFormatter_DecodeDateString_System_String_System_Int32_System_Object__System_String__System_String__" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.DecodeDateString(System.String,System.Int32,System.Object@,System.String@,System.String@)">DecodeDateString(string, int, out object, out string, out string)</h4>
<div class="markdown level1 summary"><p>Parses the date string into a numerical date value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual int DecodeDateString(string szData, int iDataLen, out object dtRetDate, out string dateFormat, out string timeFormat)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function DecodeDateString(szData As String, iDataLen As Integer, ByRef dtRetDate As Object, ByRef dateFormat As String, ByRef timeFormat As String) As Integer</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.string">string</a></td>
      <td><span class="parametername">szData</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">iDataLen</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">dtRetDate</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">dateFormat</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">timeFormat</span></td>
      <td></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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>defines FPSE_DECODE_... (in file: sedt_cls.h)</p>
</td>
    </tr>
  </tbody>
</table>
</div>
