摘要: JavaScript 中的 Date 对象使用毫秒数来表示时间。因此,一天(24 小时)的毫秒数是: const MS_PER_DAY = 24 * 60 * 60 * 1000; 计算三十天后的日期: let currentDate = new Date();//当前时间 let thirtyDa 阅读全文
posted @ 2025-01-06 13:38 3939! 阅读(439) 评论(0) 推荐(0)