# C1.Schedule.TimeZoneInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_TimeZoneInfo" data-uid="C1.Schedule.TimeZoneInfo" class="text-break">TimeZoneInfo Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Schedule.TimeZoneInfo.html">TimeZoneInfo</a> class determines time zone properties.
It can be used for conversion to/from utc times and local times and respect DST.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">TimeZoneInfo</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_TimeZoneInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TimeZoneInfo</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TimeZoneInfo</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_CurrentTimeZone" data-uid="C1.Schedule.TimeZoneInfo.CurrentTimeZone">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.CurrentTimeZone.html#C1_Schedule_TimeZoneInfo_CurrentTimeZone">CurrentTimeZone</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current time zone information.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_DaylightName" data-uid="C1.Schedule.TimeZoneInfo.DaylightName">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.DaylightName.html#C1_Schedule_TimeZoneInfo_DaylightName">DaylightName</a>
        </td>
        <td class="markdown level1 summary"><p>The time zone's name during daylight savings time (DST).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_DisplayName" data-uid="C1.Schedule.TimeZoneInfo.DisplayName">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.DisplayName.html#C1_Schedule_TimeZoneInfo_DisplayName">DisplayName</a>
        </td>
        <td class="markdown level1 summary"><p>The time zone's display name (e.g. '(GMT-05:00) Eastern Time (US and Canada)').</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_StandardName" data-uid="C1.Schedule.TimeZoneInfo.StandardName">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.StandardName.html#C1_Schedule_TimeZoneInfo_StandardName">StandardName</a>
        </td>
        <td class="markdown level1 summary"><p>The time zone's name during 'standard' time (i.e. not daylight savings).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_StandardOffset" data-uid="C1.Schedule.TimeZoneInfo.StandardOffset">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.StandardOffset.html#C1_Schedule_TimeZoneInfo_StandardOffset">StandardOffset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the standard offset from UTC as a TimeSpan.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_TimeZoneNames" data-uid="C1.Schedule.TimeZoneInfo.TimeZoneNames">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.TimeZoneNames.html#C1_Schedule_TimeZoneInfo_TimeZoneNames">TimeZoneNames</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a string array of display time zone names supported in the local system.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_TimeZones" data-uid="C1.Schedule.TimeZoneInfo.TimeZones">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.TimeZones.html#C1_Schedule_TimeZoneInfo_TimeZones">TimeZones</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a list of all time zones defined in the local system.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_CopyFrom_C1_Schedule_TimeZoneInfo_" data-uid="C1.Schedule.TimeZoneInfo.CopyFrom(C1.Schedule.TimeZoneInfo)">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.CopyFrom.html#C1_Schedule_TimeZoneInfo_CopyFrom_C1_Schedule_TimeZoneInfo_">CopyFrom(TimeZoneInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies a time zone info form the specified <a class="xref" href="C1.Schedule.TimeZoneInfo.html">TimeZoneInfo</a> object into the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_GetTimeZone_System_String_" data-uid="C1.Schedule.TimeZoneInfo.GetTimeZone(System.String)">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.GetTimeZone.html#C1_Schedule_TimeZoneInfo_GetTimeZone_System_String_">GetTimeZone(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a TimeZoneInfo instance for the time zone with supplied name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_ToLocalTime_System_DateTime_" data-uid="C1.Schedule.TimeZoneInfo.ToLocalTime(System.DateTime)">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.ToLocalTime.html#C1_Schedule_TimeZoneInfo_ToLocalTime_System_DateTime_">ToLocalTime(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the value of the utc time to a local time in this time zone.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_ToString" data-uid="C1.Schedule.TimeZoneInfo.ToString">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.ToString.html#C1_Schedule_TimeZoneInfo_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets display name of this time zone instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_TimeZoneInfo_ToUniversalTime_System_DateTime_" data-uid="C1.Schedule.TimeZoneInfo.ToUniversalTime(System.DateTime)">
          <a class="xref" href="C1.Schedule.TimeZoneInfo.ToUniversalTime.html#C1_Schedule_TimeZoneInfo_ToUniversalTime_System_DateTime_">ToUniversalTime(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the value of the local time to UTC time.
Note that there may be different possible interpretations at the daylight time boundaries.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
