native get current Day
This question already has an answer here:
你可以使用这个:
var today = new Date();
date=today.getDate() + "/"+ parseInt(today.getMonth()+1) +"/"+ today.getFullYear();
console.log(date);
链接地址: http://www.djcxy.com/p/77514.html
上一篇: JavaScript今天的日期
下一篇: 本地获取当前日期