js中格式化时间 .
?var now = new Date().format("yyyy-MM-dd hh:mm:ss"); ?
?
var now = new Date().format("yyyy-MM-dd hh:mm:ss");