来自AI助手的总结
                文章介绍了通过JavaScript函数获取并格式化当前系统日期的方法。
            获取当前系统日期
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
    











暂无评论内容