How do you pass a date time (i need it to the second) to c# using jquery and mvc3. This is what I have
var date = new Date(); $.ajax( { type: \
I found that I needed to wrap my datetime string like this:
"startdate": "\/Date(" + date() + ")\/"
Took me an hour to figure out how to enable the WCF service to give me back the error message which told me that XD