Linked Questions

244 votes
10 answers
209k views

Possible Duplicate: How to format a JSON date? My webs service is returning a DateTime to a jQuery call. The service returns the data in this format: /Date(1245398693390)/ How can I convert this ...
user avatar
96 votes
4 answers
210k views

Possible Duplicate: How to format a JSON date? I have the following result from a $getJSON call from JavaScript. How do I convert the start property to a proper date in JavaScript? [ {"id":1,"...
littlechris's user avatar
  • 4,204
37 votes
7 answers
26k views

Possible Duplicate: Format a Microsoft JSON date? The ASP.NET function Json() formats and returns a date as {"d":"\/Date(1240718400000)\/"} which has to be dealt with on the client side which is ...
ChrisP's user avatar
  • 10.1k
19 votes
3 answers
29k views

Am working with json api that represents dates like this "date" : "/Date(1356081900000)/" I want to turn this into regular javascript Date. The only way I can think of solving this problem is to do ...
jamjam's user avatar
  • 3,289
18 votes
1 answer
38k views

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 ...
Amol Kolekar's user avatar
  • 2,333
5 votes
3 answers
21k views

Possible Duplicate: How to format a JSON date? I am calling a JSON web service via Javascript, and the StartDate field is /Date(1268524800000)/. How do I convert this to a human readable format?d
TruMan1's user avatar
  • 36.6k
12 votes
1 answer
4k views

Possible Duplicate: How to format a JSON date? Parsing Date from webservice Sorry if this question has already been asked. I have look around but have been unable to find one. Is there a quick ...
user avatar
9 votes
1 answer
2k views

Possible Duplicate: How to format a JSON date? I have a JSON that contains some dates that I need to be in a UTC format. At present if I alert the dates out they are in the following format: /...
JIbber4568's user avatar
1 vote
1 answer
5k views

I am trying to convert a C# DateTime variable into something that is able to be passed into a Javascript function through NewtonSoft.Json. At the moment what I am using is: var jsonSettings = new ...
Zoe's user avatar
  • 13
2 votes
1 answer
2k views

receiving string of date that looks like this "/Date(1633421520000)/", with moment I could just use it as moment("/Date(1633421520000)/") whats the equivalent for date-fns ? for ...
greW's user avatar
  • 1,348
0 votes
2 answers
1k views

I need to parse date from JSON (I can't do any change in this JSON on server). { ... "time":"2014-02-14 18:37:48", ... } In php date() it is: YYYY-mm-dd HH:ii:ss I want to change date format, for ...
martin's user avatar
  • 1,797
0 votes
2 answers
1k views

My query in JS is returning a Javascript date as a string from my database (i.e "/Date(1657756800000)/"). I need a way to first convert that into a Javascript date object and then parse/...
pass341's user avatar
  • 13
7 votes
2 answers
304 views

I'm working on getting Json objects from a service to a List View in Android... the date format looks like this "/Date(1354222800000+0300)/" ... how can I change it to a readable format? for (int i = ...
Hussam Ali Alzoubi's user avatar
0 votes
1 answer
333 views

I am using json to get date from asp.net controller witch get date from ms sql database. In JavaScript i get object with strange date type Object BloodTestID:23 Date:"/Date(1451599200000)/" Name:"Hb"...
A191919's user avatar
  • 3,472
0 votes
1 answer
361 views

I have data look like this ( /Date(1500921000000)/ ) and I want to convert into Date. How IDK. help me, please
Neeraj Pathak's user avatar

15 30 50 per page
1
2 3 4 5
11