title: DateTimeOffset Error: UTC offset of local dateTime does not match the offset argument
body: <p>I'm trying to create a small method that converts the time from one timezone to another. I thought it would be simple enough, but when I deploy it I get this error <code>The UTC Offset of the local dateTime parameter does not match the offset argument.</code> My guess is that it's because the server is not in the same timezone as the user which is not helpful since this would be used from around the world.</p>
  
  <pre><code>public object ConvertDate(DateTime inputTime, string fromOffset, string toZone)
  {
      var fromTimeOffset = new TimeSpan(0, - int.Parse(fromOffset), 0);
      var to = TimeZoneInfo.FindSystemTimeZoneById(toZone);
      var offset = new DateTimeOffset(inputTime, fromTimeOffset);
      var destination = TimeZoneInfo.ConvertTime(offset, to); 
      return destination.DateTime;
  }
  </code></pre>
  
  <p>Where <code>fromOffset</code> is a number, converted to timespan from the users timezone and <code>toZone</code> is the name of the zone we're converting to.
  The error occurs on this line <code>var offset = new DateTimeOffset(inputTime, fromTimeOffset);</code></p>
  
  <p>Any ideas on how to get this working?</p>