摘要: JS将时间对象输出为(12小时制和24小时制)的字符串1、获取当前时间(12小时制和24小时制)var tempDate=new Date();// "Mon Sep 30 2019 20:38:03 GMT+0800 (中国标准时间)"var tempTimeStr12=tempDate.toLo 阅读全文
posted @ 2020-05-11 13:58 申小贺 阅读(2995) 评论(0) 推荐(1) 编辑