title: how to read the time on a windows mobile device using c#
body: <p>What are the API provided in the Compact Framework to read the time (NOT in UTC!!)
  on a windows mobile based device?</p>
  
  <p>I was able to get the device time in UTC with this code:</p>
  
  <pre><code>DateTime dt = DateLib.Now;            
  SystemTime sysTime = new SystemTime();
  Windows.SystemTime.GetSystemTime(out sysTime);
  Windows.SystemTime.ConvertTimeStructure(ref sysTime, out dt);
  Windows.SystemTime.SetSystemTime(dt);
  </code></pre>
  
  <p>But I want the time as per the device's time zone.
  Thanks</p>