Time difference in lotus script

hi all,

 I want to calculate the time difference between 2 time fields using lotus script. If i use field1-field2 that gives a scientific value.

Can any one help me with this

Subject: time difference in lotus script

‘Scientific value’ is the value in seconds…

Subject: RE: time difference in lotus script

if I put 08:11AM and 09:30 AM I get the answer 5.4861111111E-02 That’s not in seconds and I can’t find any relation to the time diference in that answer.

Subject: RE: time difference in lotus script

Look up the NotesDateTime class in the Domino Designer help file. The TimeDifference method is what you need.

Subject: RE: time difference in lotus script

That’s the difference in days. To get the difference in hours, multiply by 24.