摘要: 1.获取当前年月日时分秒 const date = new Date(); const year = date.getFullYear(); const month = (date.getMonth() + 1).toString().padStart(2, '0'); // JavaScript的 阅读全文
posted @ 2024-11-12 11:35 visualStudioCode 阅读(420) 评论(0) 推荐(0)