开发者

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

开发者 https://www.devze.com 2023-01-07 15:28 出处:网络
How to calculate the date difference be开发者_JAVA百科tween 2 dates using Lotus Notes FourmularIf you are using lotusScript you can use either of these:

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

精彩评论

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