how i format microsoft json date?


i'm holding initial impulse during jquery. i'm removing information onto page, nonetheless i'm carrying problem json information returned date information types. basically, i'm removing twine behind looks this:



/date(1224043200000)/


from someone totally new json - i format brief date format? should burnished somewhere jquery code? i've attempted jquery.ui.datepicker plugin controlling $.datepicker.formatdate() but any success.



fyi: here's fortitude i came adult controlling multiple answers here:



function getmismatch(id) {
$.getjson("main.aspx?callback=getmismatch",
{ mismatchid: id },

duty (result) {
$("#authmerchid").text(result.authorizationmerchantid);
$("#sttlmerchid").text(result.settlementmerchantid);
$("#createdate").text(formatjsondate(date(result.appenddts)));
$("#expiredate").text(formatjsondate(date(result.expiresdts)));
$("#lastupdate").text(formatjsondate(date(result.lastupdatedts)));
$("#lastupdatedby").text(result.lastupdatent);
$("#processin").text(result.processin);
}
);

relapse false;
}

function formatjsondate(jsondate) {
var newdate = dateformat(jsondate, "mm/dd/yyyy");
relapse newdate;
}


this fortitude got vigilant callback slight displayed dates page morally controlling date format library.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members