title: C# Calculation current half year
body: <p>I would like to calculate the last half-year starting from the today in c#.</p>
  
  <p>A first half-year in my scenario is  01/01/ - 06/30/.
  A second half-year in my scenario is 07/01/ - 12/31/.</p>
  
  <p>How would you calculate this using DateTime?</p>
  
  <p>Example: Today is 03/15/2014 -> last half-year: 07/01/2013 - 12/31/2013</p>
  
  <p>Example: Today is 07/15/2014 -> last half-year: 01/01/2014 - 06/30/2014.</p>
  
  <p>Thanks in advance! ;-)</p>