var d = new Date(parseInt(date.replace("/Date(", "").replace(")/", ""), 10)); return d.getFullYear() + '-' + (+d.getMonth() + 1) + '-' + d.getDate();