摘要:
// 旦前 含时分秒function getNowFormatDate() { let date = new Date() let seperator1 = "-" let seperator2 = ":" let month = date.getMonth() + 1 < 10 ? "0" + ( 阅读全文
摘要:
let data = function (mounth) { //创建现在的时间 let data = new Date() //获取年 let year = data.getFullYear() //获取月 let mon = data.getMonth() + 1 //获取日 let dated 阅读全文