How do you compare date/time fields using Lotuscript?
This example will compare two date fields in document:
mdate1V = document.DateField1(0)
mdate2V = document.DateField2(0)
If mdate1V < mdate2V Then
MsgBox "DATE 1 LESS THEN DATE 2"
Else
MsgBox "DATE 2 LESS THEN OR EQUAL TO DATE 1)
End If