# C1.WPF.Schedule.CalendarHelper.DateTimeKind

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_CalendarHelper_DateTimeKind_" data-uid="C1.WPF.Schedule.CalendarHelper.DateTimeKind*">DateTimeKind Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_CalendarHelper_DateTimeKind_" data-uid="C1.WPF.Schedule.CalendarHelper.DateTimeKind*"></a>
<h4 id="C1_WPF_Schedule_CalendarHelper_DateTimeKind" data-uid="C1.WPF.Schedule.CalendarHelper.DateTimeKind">DateTimeKind</h4>
<div class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.WPF.Schedule.CalendarHelper.DateTimeKind.html#C1_WPF_Schedule_CalendarHelper_DateTimeKind">DateTimeKind</a> value specifying DateTime kind
used for saving <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DateTimeKind DateTimeKind { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property DateTimeKind As DateTimeKind</code></pre>
</div>
<h5 id="C1_WPF_Schedule_CalendarHelper_DateTimeKind_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property only has an influence on the process of saving data to
the AppointmentStorage.DataSource object and on export operations.
All properties of the <span class="xref">C1.Schedule.Appointment</span> and <span class="xref">C1.Schedule.RecurrencePattern</span>
objects represent current system local time values.
Set this property to DateTimeLind.Utc if you need to save
data with universal time. In such case the data will be converted
to the local time and back at every read/write operation.</p>
</div>
</div>
