Where does Date() get its values from
<p>In my code, I have the following line:</p>

<pre><code>var today = new Date();
</code></pre>

<p>My research tells me this should set <code>today</code> as the current date. But where does this current date come from?
In one instance, I set an object up with this current date. Then my app wants this object to timeout after 30 days, so I changed the date on the tablet and re-entered the app (it closed and reopened), and yet <code>today</code> still gets the same value from <code>Date()</code>. Where does <code>Date()</code> get its value from?
If I wanted to get a tablet specific time, how would I do that?</p>