Subtract date returns negative
<p>I have the following code</p>

<pre><code>_intervals = intervalEndTime.Subtract(intervalStartTime).Hours;
</code></pre>

<p>intervalEndTime = 2009-11-11 16:00
intervalStartTime = 2009-11-11 08:00</p>

<p>makes _intervals contain -8. Howcome it gets to be -8? Removing 8 hours from 16 should be 8? I could switch to make it positive 8, but could someone explain this one abit?</p>

<pre><code>        private int calcIntervalRows()
    {
        int _intervals = 0;

        switch (this.BookingObject.IntervalEntity.IntervalEntityID.Trim())
        {
            case "DAY":
                _intervals = 1;
                break;
            case "MIN":
                _intervals = SplitTime(new TimeSpan(intervalStartTime.Minute - intervalEndTime.Hour, 0, 0), new TimeSpan(this.BookingObject.IntervalValue != null ? this.BookingObject.IntervalValue.Value : 1, 0, 0));
                break;
            case "HOUR":
                _intervals = (int)intervalEndTime.Subtract(intervalStartTime).Hours;                    
                break;

        }

        return _intervals;
    }
</code></pre>

<p><img src="http://svevarn.com/que.gif" alt="alt text"></p>

<p>/M</p>
