title: Divide timespan by 2?
body: <p>I have two times, and their values are picked up from a XML from web.</p>
  
  <pre><code>XElement xmlWdata = XElement.Parse(e.Result);
  
  string SunRise = xmlWdata.Element("sun").Attribute("rise").Value;
  string SunSet = xmlWdata.Element("sun").Attribute("set").Value;
  
  DateTime sunrise = Convert.ToDateTime(SunRise.Remove(0,11));
  DateTime sunset = Convert.ToDateTime(SunSet.Remove(0, 11));
  </code></pre>
  
  <p>This gives med the time: 04:28 for sunrise, and 22:00 for sunset.
  How to then do a calculation where i take:</p>
  
  <p><strong><code>(sunrise + (sunset-sunrise)/2)</code></strong></p>