How to set a JavaScript cookie to expire in 10 years?
<p>The function I'm using sets the cookie expiration in this part of the code:</p>

<pre><code>time += 3600 * 1000;
</code></pre>

<p>It expires in an hour. How to set this to expire in 10 years?</p>
