# C1.Win.GanttView.Printing.TagDateTimeInputParams.Format

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_GanttView_Printing_TagDateTimeInputParams_Format_" data-uid="C1.Win.GanttView.Printing.TagDateTimeInputParams.Format*">Format Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_GanttView_Printing_TagDateTimeInputParams_Format_" data-uid="C1.Win.GanttView.Printing.TagDateTimeInputParams.Format*"></a>
<h4 id="C1_Win_GanttView_Printing_TagDateTimeInputParams_Format" data-uid="C1.Win.GanttView.Printing.TagDateTimeInputParams.Format">Format</h4>
<div class="markdown level1 summary"><p>Gets or sets the format to use in the date/time picker.
Long = 1 - the long date format set by the user's operating system,
Short = 2 - the short date format set by the user's operating system,
Time = 4 - the time format set by the user's operating system,
Custom = 8 - the date/time value in a custom format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Format { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Format As Integer</code></pre>
</div>
</div>
