Using new Date on value of an <input type="date" />
<p>I am trying to convert the value of an <code>&lt;input type="date" /&gt;</code> to an actual Javascript Date object. The example is below</p>

<pre><code>new Date($('#myInput').val()); //where value of myInput is '2011-01-01'
</code></pre>

<p>turns out to be </p>

<pre><code>Fri Dec 31 2010 19:00:00 GMT-0500 (Eastern Standard Time)
</code></pre>

<p>It appears that the Date is convert from UTC to EST (I think). Is there anyway to prevent this conversion????</p>

<p>example: <a href="http://jsfiddle.net/2t2m8/" rel="nofollow">jsfiddle</a></p>
