C# Correct way to change DateTime value?
<p>Is is possible to change the value returned by DateTime? Or at least assign it to a variable then change that variable?</p>

<pre><code> internal int hour;
    internal int minute;
    DateTime time = DateTime.Now;

public int incrementHour(int step)
        {
            if (step &gt; 0 &amp;&amp; hour &lt; 24)
            {
                //step = step % hour;
                hour = (hour + step) % 24;
                time.AddHours(hour);
                return hour;
            }//end of if

            else
            {
                MessageBox.Show("Please enter a positive number.");

                return 0;
            }//end of else
        }//end of incrementHour
</code></pre>

<p>Addhours doesn't really do anything from the looks of it. </p>
