Subtracting dates in LotusScript

Please disregard.

Subject: Subtracting dates in LotusScript

Dayslate probably shouldn’t be in integer. Try declaring it as Long instead.

Subject: Subtracting dates in LotusScript

“dayslate” is an integer, but the parts that make it are not. The datetimes will become Doubles when you do the subtraction, and the doubles will exceed 32767 for dates after Saturday, September 16, 1989. They don’t convert safely to integers so the implicit conversion won’t work.

Subject: Subtracting dates in LotusScript

Try declaring as double…

difference# = notesDateTime.TimeDifferenceDouble( notesDateTime )