How do you compare date/time fields using Lotuscript?
How do you compare date/time fields using Lotuscript?
| Answer | 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 |
| Attachments | -none- |
| Applies to versions | 4.x; 5.x; 6.x |
| FAQ Provided By | ken yee |
| Credit | Click here for information source |
 |  |
|
|