title: Generate datetime format for XML
body: <p>I'm trying to generate timestamp for cXML as shown below. Is there any function in C# which I can use to format date time to: 2011-06-09T16:37:17+16:37</p>
  
  <p>e.g.</p>
  
  <pre><code>&lt;cXML payloadID="accountsuser@bla.com"
  timestamp="2011-06-09T16:37:17+16:37"&gt;
  </code></pre>