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