Linked Questions

2167 votes
42 answers
816k views

I'm taking my first crack at Ajax with jQuery. I'm getting my data onto my page, but I'm having some trouble with the JSON data that is returned for Date data types. Basically, I'm getting a string ...
0 votes
5 answers
21k views

This is my json generated at client side. I am posting this json to the server. But the StartDate and EndDate are not being converted. Please help. [ { "GoalTitle": "Competancy Goal", ...
dineshd87's user avatar
  • 139
2 votes
2 answers
7k views

/Date(1352658600000)/ When Display the date Date is not Display in Proper Format. How to convert in to proper Format(dd/mm/yyyy)?
Vipul Malani's user avatar
2 votes
3 answers
7k views

I am using jqGrid in MVC 4 to display data. I am having a grids with date/ datetime column in it. I am returning C# DateTime variable data for grid date column; which is displaying fine with the ...
Sagar Padwal's user avatar
1 vote
2 answers
6k views

currently, I'm trying to add some date parameter to my add from my backend I get /Date(1525521600000+0000)/ I tried some methods like <Text text="{path: 'ValueDate', type: '...
Penrock's user avatar
  • 143
9 votes
1 answer
379 views

Say I have a string, which value is already a number, e.g. var str = "1234" Now I want to convert it to number. I have seen two tricks on the internet so far, Use the unary +: var num = +str Use the ...
shole's user avatar
  • 4,134
0 votes
2 answers
1k views

So i've got this piece of code to update the date and time a person leaves in localstorage $scope.visitorout = function(){ var dateout1 = new Date(); var signout = JSON.parse(localStorage["...
user3419780's user avatar
0 votes
1 answer
2k views

I am using cakephp4 and a Xero API. I can't find the code to convert a date returned as '/Date(1617667200000+0000)/' from a Xero API. It is a timestamp with the first 10 digits eg the $rr=gmdate("...
atown99's user avatar
  • 109
0 votes
1 answer
2k views

I am having jqGrid with following ColModel definition colModel: [ . . . { name: 'ReadingTransferTime', index: 'ReadingTransferTime', width: 78, formatter: '...
Sagar Padwal's user avatar
0 votes
2 answers
621 views

I want to convert this type of object to date format as (Sat 10/4/2016 5:03 PM) how can I do that of input type /Date(1487185200000)/ using angularJs May json is something like this [{ "Post_Id": 1,...
Shaan '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
0 answers
129 views

I am trying to display a json array which I got from consuming a web service that returns a list of resourceRequests that contain an attribute 'dateDepot' of type DateTime but it doesn't work unlike ...
AOUADI Slim's user avatar
0 votes
0 answers
98 views

Our edge device has an inbuilt data logging function which logs data at regular intervals. If for some reason a connection to the cloud is lost for a period of time, then the next time it connects it ...
Roy's user avatar
  • 1
1 vote
1 answer
72 views

im trying to set endtime(expired/CountDown) <p id="demo"></p> <script> // Set the date we're counting down to var countDownDate = new Date("Jan 5, 2018 15:37:25")....
Mutaz Obeidat's user avatar
0 votes
0 answers
46 views

i add data into database like this or.Date = DateTime.Now; or.Inches = item.Inches; or.note = not; or.paid = pad; or.ProductDes = item.ProductDes; ...
Mr.Omar's user avatar

15 30 50 per page