开发者

How to calculate the date difference between 2 dates using Lotus Notes

How to calculate the date difference be开发者_JAVA百科tween 2 dates using Lotus Notes Fourmular


If you are using lotusScript you can use either of these:

Returns the difference in seconds as a double

difference = notesdatetimeobj.TimeDifferenceDouble(othernotesdatetimeobj)

Returns the difference in seconds as a long

difference = notesdatetimeobj.TimeDifference(othernotesdatetimeobj)

If you are using @formulas you can just substract one date from the other and it will return the difference in seconds as well:

difference := date1 - date2;

Hope that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜