Variables not updating synchronously
<p>I keep running into this problem. And right now it has to do with the <code>Date</code> object</p>

<pre><code>var now = new Date();
var later = new Date();
later.setHours( later.getHours() + 8 );

&lt;Wait for somthing&gt;
now = later;
later.setHours( later.getHours() + 8 );

alert(now == later); //returns True
</code></pre>

<p>I thought this could be solved using callbacks:</p>

<pre><code>var adjustTime = function(callback){
     now = later;
     callback();
}
adjustTime(function(){
    later.setHours( later.getHours() + 8 );
});

alert(now == later); //returns True
</code></pre>

<p>What do I not understand? How can I update these variables correctly?</p>

<p><strong>EDIT:</strong>
Ok, I should explained myself a bit better. What I want to do is to update the now variable to be the <strong>value</strong> of later. And after that I want to increase later with 8 hours.</p>
