What is equivalent of DateTime.ToOADate() in javascript?
<p>How can I get the OADate (OLE Automation date) in javascript? I need to pass my date object  (to my web service) in the form of a double value.</p>

<p>in c#:</p>

<pre><code>var d = DateTime.Now.ToOADate();
</code></pre>

<p>what is the equivalent in js?</p>
