title: "Could not convert string to DateTimeOffset:" in ASP.NET webservice call, any idea what format the string is in?
body: <p>I'm using a web service that I'm pretty sure is ASP.NET with an SQL Server backend.</p>
  
  <p>I'm able to make webservice calls to it and have them return, but I just tried to use one and I got back the following error message:</p>
  
  <pre><code>{
      "Data": "Could not convert string to DateTimeOffset: 2019-08-02T013:00:00+00:00. Path 'StartTime', line 1, position 41.",
      "Status": "error",
      "ErrorCodes": [],
      "validationRules": {}
  }
  </code></pre>
  
  <p>The format I'm sending appears to be:</p>
  
  <pre><code>YYYY-MM-DDTZHH:MM:SS+XX:XX
  </code></pre>
  
  <p>Where I'm uncertain what <code>XX:XX</code> really is in the format.</p>
  
  <p>Can someone identify the format?  It looks to me like an ISO format.  I'm reading the documentation for the webservice and sort of using an example for it, of course I had to change the date to support data that's in our database so it actually returns something.</p>
  
  <p>If it helps at all the webservice is reporting the following version of ASP.NET</p>
  
  <pre><code>&lt; HTTP/1.1 200 OK
  &lt; Cache-Control: no-cache
  &lt; Pragma: no-cache
  &lt; Content-Length: 148125
  &lt; Content-Type: application/json
  &lt; Expires: -1
  &lt; Server: Microsoft-IIS/8.5
  &lt; X-AspNet-Version: 4.0.30319
  &lt; X-Powered-By: ASP.NET
  </code></pre>