I post(using jQuery $.post) the following json DateTime to a WCF service(using C#):
"/Date(1331713200000)/"
On Firebug CommandLine, I test it:
Date(1331713200000)
This is the output:
“Wed Mar 14 2012 11:52:06 GMT+0330”
On server side, I’ve break point on Service Input argument (which is System.DateTime). What is received is the posted date time without Seconds!
{3/14/2012 11:50:00 AM}
Did you ever try this? What’s wrong?
Date(1331713200000)is returning now, the argument is ignored.new Date(1331713200000)is what you should be calling. As Jon has said – the time you’re getting server-side is correct.