js 获取当月的第一天和最后一天 & 日期格式化 & 获取距离上次的时间间隔

1获取当月的第一天web function getCurrentMonthFirst() { var date = new Date() date.setDate(1) return date } 2.获取当月的最后一天svg function getCurrentMonthLast() { var date = new Date(); var currentMonth = date
相关文章
相关标签/搜索