# C1.Schedule.CalendarInfo.DateTimeKind

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Schedule_CalendarInfo_DateTimeKind_" data-uid="C1.Schedule.CalendarInfo.DateTimeKind*">DateTimeKind Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Schedule_CalendarInfo_DateTimeKind_" data-uid="C1.Schedule.CalendarInfo.DateTimeKind*"></a>
<h4 id="C1_Schedule_CalendarInfo_DateTimeKind" data-uid="C1.Schedule.CalendarInfo.DateTimeKind">DateTimeKind</h4>
<div class="markdown level1 summary"><p>Gets or sets <a class="xref" href="C1.Schedule.CalendarInfo.DateTimeKind.html#C1_Schedule_CalendarInfo_DateTimeKind">DateTimeKind</a> 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">[C1Category(&quot;CalendarInfo&quot;)]
[C1Description(&quot;CalendarInfo.DateTimeKind&quot;, &quot;DateTime kind.&quot;)]
public DateTimeKind DateTimeKind { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;CalendarInfo&quot;)&gt;
&lt;C1Description(&quot;CalendarInfo.DateTimeKind&quot;, &quot;DateTime kind.&quot;)&gt;
Public Property DateTimeKind As DateTimeKind</code></pre>
</div>
<h5 id="C1_Schedule_CalendarInfo_DateTimeKind_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property only have an influence on the process of saving data to
the AppointmentStorage.DataSource object and on export operations.
All properties of the <a class="xref" href="C1.Schedule.Appointment.html">Appointment</a> and <a class="xref" href="C1.Schedule.RecurrencePattern.html">RecurrencePattern</a>
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>
