jquery Archive

If we have date in Date(milliseconds) format e.g. Date(1286821800000) & we want to convert it to dd-mm-yyyy format then we can use bellow code. e.g. var singledate = "/Date(1286821800000)/"; var changeddate = singledate.match(/\d+/g).map(function (s) { return new Date(+s); });...