title: DateTime Unspecified Kind
body: <p><a href="http://msdn.microsoft.com/en-us/library/system.datetime.tolocaltime%28v=vs.100%29.aspx" rel="noreferrer">On msdn it is defined for Unspecified Kind as:</a></p>
  <blockquote>
  <p><img src="https://i.stack.imgur.com/byvWY.jpg" alt="kind" /></p>
  </blockquote>
  <p>So if Kind is unspecified DateTime is UTC, but on the same page (given example):</p>
  <pre><code>class Sample 
  {
      public static void Main() 
      {
        DateTime saveNow = DateTime.Now;
        myDt = DateTime.SpecifyKind(saveNow, DateTimeKind.Unspecified);
        Display(&quot;Unspecified: .....&quot;, myDt);
      }
  
      public static string datePatt = @&quot;M/d/yyyy hh:mm:ss tt&quot;;
  
      public static void Display(string title, DateTime inputDt)
      {
        DateTime dispDt = inputDt;
        string dtString;
      
        dtString = dispDt.ToString(datePatt);
        Console.WriteLine(&quot;{0} {1}, Kind = {2}&quot;, title, dtString, dispDt.Kind);
  
        dispDt = inputDt.ToLocalTime();
        dtString = dispDt.ToString(datePatt);
        Console.WriteLine(&quot;  ToLocalTime:     {0}, Kind = {1}&quot;, dtString, dispDt.Kind);
  
        dispDt = inputDt.ToUniversalTime();
        dtString = dispDt.ToString(datePatt);
        Console.WriteLine(&quot;  ToUniversalTime: {0}, Kind = {1}&quot;, dtString, dispDt.Kind);
        Console.WriteLine();
      }
    }
  }
  </code></pre>
  <p>giving the output as:</p>
  <blockquote>
  <p>Unspecified: ..... 5/6/2005 02:34:42 PM, Kind = Unspecified</p>
  <p>ToLocalTime:     5/6/2005 07:34:42 AM, Kind = Local</p>
  <p>ToUniversalTime: 5/6/2005 09:34:42 PM, Kind = Utc</p>
  </blockquote>
  <p>So, issue I have with this is, that if Unspecified is Utc then why Utc to Utc conversion change the datetime object value?</p>