时间日期相关JS方法
摘要:
返回当前月份 getMonth( )方法可返回表示月份的数字,返回值是0(一月)到11(十二月)之间的一个整数 返回当前月的天数 let days = new Date(year, month, 0).getDate() 阅读全文
posted @ 2021-02-24 16:47 zhishiyv 阅读(67) 评论(0) 推荐(0) 编辑
posted @ 2021-02-24 16:47 zhishiyv 阅读(67) 评论(0) 推荐(0) 编辑
posted @ 2021-02-24 16:08 zhishiyv 阅读(1758) 评论(0) 推荐(0) 编辑