English 中文(简体)
本月剩余工作日数
原标题:Number of working days remaining this month

我使用这一公式来显示本月剩余的天数。 这可能是多少个工作日?

=EOMONTH(TODAY(),0)-TODAY()
最佳回答

分析工具包还提供了网络空间网络在两个日期之间寻找工作天数的功能。

NETWORKDAYS(start_date,end_date,holidays)

问题回答

例如:

function daysInMonth(month, year) {
  return new Date(year, month, 0).getDate();
}

MonthDays = daysInMonth(6, 2016);
today = new Date();
day = today.getDate();
remainingDaysInMonth = MonthDays - day;
console.log(remainingDaysInMonth)
=networkdays(given_date,eomonth(given_date,0))




相关问题
Excel: parse text as formula

I would like to have part of an excel formula be dynamic, other than a cell reference. For instance, suppose that in column A (cells A1:A99) I have a bunch of numbers, and I want to know how many of ...

Between a range of values in excel 2007

I have a column of numbers in Excel 2007, for example: 19 35 29 62 What i want to do is: If the value is between 0-20 replace the value with 0.1 If the value is between 20-25 replace it with 0.2 ...

热门标签