Linked Questions
151 questions linked to/from How do I format a Microsoft JSON date?
244 votes
10 answers
209k views
Converting .NET DateTime to JSON [duplicate]
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 ...
96 votes
4 answers
210k views
Converting json results to a date [duplicate]
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,"...
37 votes
7 answers
26k views
How to pass a JSON date value via ASP.NET MVC using JSON.NET? [duplicate]
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 ...
19 votes
3 answers
29k views
Convert unix timestamp to javascript date Object [duplicate]
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 ...
18 votes
1 answer
38k views
Json Datetime issue [duplicate]
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 ...
5 votes
3 answers
21k views
How to convert this date format: /Date(1268524800000)/? [duplicate]
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
12 votes
1 answer
4k views
Javascript Date from milliseconds and timezone [duplicate]
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 ...
9 votes
1 answer
2k views
Javascript Convert Date To UTC [duplicate]
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: /...
1 vote
1 answer
5k views
Convert a C# DateTime to JavaScript DateTime [duplicate]
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 ...
2 votes
1 answer
2k views
date-fns parse for "/Date(1633421520000)/" [duplicate]
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 ...
0 votes
2 answers
1k views
JavaScript format date like in PHP [duplicate]
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 ...
0 votes
2 answers
1k views
How to convert a Javascript Date String into a Javascript Date Object? [duplicate]
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/...
7 votes
2 answers
306 views
Date format retrieved from a service [duplicate]
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 = ...
0 votes
1 answer
333 views
javascript date from controller [duplicate]
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"...
0 votes
1 answer
361 views
How to convert milliseconds to date [duplicate]
I have data look like this ( /Date(1500921000000)/ ) and I want to convert into Date. How IDK. help me, please