title: jQuery ajax post current date time ASP.NET web API
body: <p>I have an ASP.NET Web API endpoint where I can POST some data.</p>
  
  <p>Let's say I will post the following:</p>
  
  <pre><code>var myObject = {
  name: "Jhon Smith",
  age: "34",
  accountCreated: "CURRENT DATE TIME"
  };
  </code></pre>
  
  <p>what is the equivalent of <code>DateTime.Now</code> in JavaScript so I can assign the current date and time to <code>accountCreated</code>?</p>
  
  <p>How can I parse this date (javascript current date time) into a C# DateTime object (in ASP.NET)?</p>