获取当前系统日期
function getNowTime(){
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
if (month 输出
2019-08-24
© 版权声明
THE END
获取当前系统日期
function getNowTime(){
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
if (month 输出
2019-08-24
暂无评论内容