Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试计算水电费账单属于两类(日期范围)的天数。即账单范围可能在 2014 年 16 月 8 日至 2014 年 14 月 10 日(包括 60 天)之间,我想工作1/10/2014-31/3/15 季节有多少天,1/4/14-30/9/14 季节有多少天。应该是 14 和 46,但我只得到 13 和 44。有什么建议吗?谢谢