getFullyear() is not a fucntion
<p>I am getting an error Statdate.getFullyear() is not a function .</p>

<pre><code> var start = new Date();
 start = document.getElementById('Stardate').value ;

 var y = start.getFullYear();
</code></pre>

<p>Any idea what is causing this</p>

<p>Thanks</p>

<p>Prady</p>
