Error while adding minutes to a js date object?
<pre><code>var d=ed;
d.setMinutes(d.getMinutes() + 30);
</code></pre>

<p><code>ed</code> has my date,but this is giving me error like </p>

<pre><code>Object doesn't support this property or method
</code></pre>

<p>wat might be the problem???</p>
