TimeDifference Function to Test if Doc Field/Date Is OverDue

Mindwatering Incorporated

Author: Tripp W Black

Created: 05/24/2006 at 10:57 PM

 

Category:
Notes Developer Tips
LotusScript

LotusScript Function to Test if Document Is Past a Date Cut-off / Older Than x Number of Days

IsDocOverDue.txt

isdateolderthan.txtisdateolderthan.txt

Simplified Real World Sample Agent that Removes All Documents in an Application Older than "n" Days
(This doesn't require a FT Index like a Simple Action agent that does selection with Date Older Than. Useful when applications are too big for temp indexes, or you want custom formatting, or you don't want a temp index built as it hurts performance. )
TestDateOlderDeleteDocs.rtfTestDateOlderDeleteDocs.rtf

Sample function that compares two date/time objects and returns later date/time:
CompareNDTsReturnLaterNDT.rtfCompareNDTsReturnLaterNDT.rtf


previous page