Easyui datagrid date formatting (the simplest formatting method in history)

{field: 'AddTime', title: 'add time', width: 100, align: 'center',
                        Formatter: function (value) {
                            Var dateMat = new Date(parseInt(value.replace("/Date(","").replace(")/",""),10));
                            Var year = dateMat.getFullYear();
                            Var month = dateMat.getMonth() + 1;
                            Var day = dateMat.getDate();
                            Return year + "-" + month + "-" + day;;
                        }
}