JavaScript 格式化 json 时间 C# datetime

function FormatTime(jsonDate,formatString) {
    jsonDate = jsonDate.split('(')[1].split(')')[0];
    var rDate = new Date(parseInt(jsonDate));
    return rDate.format(formatString);
}


function FormatTime(jsonDate,formatString) {
jsonDate = jsonDate.split('(')[1].split(')')[0];
var rDate = new Date(parseInt(jsonDate));
return rDate.format(formatString);
}

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注