Is there any method or function in lotus script that come out hours when you deduct days
Subject: Sure…
Assuming you have a field on your document called StartDate that is a Notes Date/Time field.Dim dt1 As New NotesDateTime(doc.StartDate(0))
Dim dt2 As New NotresDateTime(Now)
td = dt2.TimeDifference(dt1) 'This is in Seconds
tDiffHours = td / (60 * 60)