本帖最后由 Simon.Sun 于 2023-5-31 09:28 编辑
我使用公式计算月数
DATEDIF([开始日期],[结束日期],"M")
The DATEDIF function returns the number of months between two dates.For the dates:
Start date: January 1, 2023
End date: December 31, 2027The number of months between these two dates is:
=DATEDIF("2023/1/1", "2027/12/31", "M")
= 60 months
按理是没问题的,但是活字格里面算出来是59,不知何故
数据表公式字段fx用的就是DATEDIF([开始日期],[结束日期],"M")
更新一下进展
公式字段,同样是=DATEDIF("2023/1/1", "2027/12/31"+1, "M")
内建表表现符合预期
外联表是59
|