龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2022-11-2 11:03

【MonthsCount】

[code]value1 = IntPortion(date/10000) - IntPortion(date[1]/10000);
value2 = Month(date) - Month(date[1]);

if 0 < value1 then
        value2 = 12 * value1 + value2;
MonthsCount = value2;
[/code]

页: [1]