injecting today's date in javascript
<p>When the page loads, I want a variable inside my JavaScript to hold today's date. So far I have this:</p>

<pre><code>&lt;script type="text/javascript"&gt;
    var TodayDate = &lt;%Eval('System.DateTime.Now') %&gt;;
&lt;/script&gt;
</code></pre>

<p>It massively bugs. Any suggestions?</p>
