Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Question

Post Timeline

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSonJSON file. But iI am having issue with the DateTimeDateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in JsonJSON file i. I am getting datetimeDateTime field in this format:

"\/Date(1343660352227+0530)\/".

iI need to get the datetimeDateTime in the same format as that of the object. is Is it possible?what What should iI do in order to get the same format?

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format"\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSON file. But I am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in JSON file. I am getting DateTime field in this format:

"\/Date(1343660352227+0530)\/".

I need to get the DateTime in the same format as that of the object. Is it possible? What should I do in order to get the same format?

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string? how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format "\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format "\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format "\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

Provided c# related original question
Source Link
Michael Freidgeim
  • 28.8k
  • 17
  • 165
  • 181

Possible Duplicate:
How to format a JSON date?
Converting .NET DateTime to JSON how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format "\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

Possible Duplicate:
How to format a JSON date?
Converting .NET DateTime to JSON

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format "\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

Possible Duplicate:
how to force netwtonsoft json serializer to serialize datetime property to string?

I am using Newtonsoft.Json to convert my object in to JSon file. But i am having issue with the DateTime, in my object datetime field is set as "7/30/2012 8:29:12 PM" but in Json file i am getting datetime field in this format "\/Date(1343660352227+0530)\/"

i need to get the datetime in the same format as that of the object. is it possible?what should i do in order to get the same format?

insert duplicate link
Source Link
Loading
edited tags
Link
fero
  • 6.2k
  • 2
  • 36
  • 56
Loading
Source Link
Amol Kolekar
  • 2.3k
  • 6
  • 30
  • 45
Loading
lang-cs

AltStyle によって変換されたページ (->オリジナル) /