JavaScript获取当前月份的所在的季度
JavaScript获取季度
// 获取当前季度: var currMonth= new Date().getMonth()+1; var currQuarter = Math.floor( ( currMonth % 3 == 0 ? ( currMonth / 3 ) : ( currMonth / 3 + 1 ) ) );
合作联系微信: w6668263 合作联系电话:177-9238-7426
// 获取当前季度: var currMonth= new Date().getMonth()+1; var currQuarter = Math.floor( ( currMonth % 3 == 0 ? ( currMonth / 3 ) : ( currMonth / 3 + 1 ) ) );