js獲取當月第一天和最後一天

/**  * 獲取當前月的第一天  */ function getCurrentMonthFirst(){  var date=new Date();  date.setDate(1);  return date; } /**  * 獲取當前月的最後一天  */ function getCurrentMonthLast(){  var date=new Date();  var currentMo
相關文章
相關標籤/搜索