function GetDateFormat(value) {
var str = value.toString().replace(/-/g, "/");
//var times = Date.parse(str);
var times = new Date(str);
return times.getHours().toString() + ";" + times.getMinutes().toString();
}
function GetDateFormat(value) {
var str = value.toString().replace(/-/g, "/");
//var times = Date.parse(str);
var times = new Date(str);
return times.getHours().toString() + ";" + times.getMinutes().toString();
}
转载于:https://www.cnblogs.com/jonhson/archive/2011/09/30/2196139.html