- 1.3k
- 2
- 17
- 27
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?
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?
- 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?