function getSysDate() {
var today=new Date();
var year=today.getFullYear();
var month=today.getMonth()+1;
var day=today.getDate();
return year + '-' + month + '-' + day;
}
js 获取当前系统时间
最新推荐文章于 2020-02-24 18:09:23 发布
function getSysDate() {
var today=new Date();
var year=today.getFullYear();
var month=today.getMonth()+1;
var day=today.getDate();
return year + '-' + month + '-' + day;
}