asp.net - Specify datetime format for WCF Data Service -
Is there a way to specify the date-time formatting given by the WCF data service?
Looks like the default format, which looks like OData DateTime format (assuming you have not already formatted it in the string) Wire format interacted between client and server resting on. The above format is from a standard javascript date object and corresponds to it. It's different, and the JSON Lite is still different. The special note is that we have decided to go away from the traditional Javascript date format in favor of JSN Lite. In any of these cases, if you have WCF DS client or data. If you are using a client like JS, then the client will be careful to dereserve the value properly. For existing client libraries on various platforms, see: / date (1339515455030) / , is the number of milliseconds from midnight to January 1, 1970, UTC. I can understand how to parse that if I have to, but I specify a more favorable format instead. "post-text" itemprop = "text">
& lt; D: order date m: type = "advance time" & gt; 1996-07-04 T 00: 00: 00 & lt; / D: Order date & gt; JSON Verbose formatted date:
"order date": "\ / date (8364384000000) \ /"
"ShipDay": "1996-07-16T00: 00: 00"
Comments
Post a Comment