Combine these routines with the UDF capabilities of KIX2001 and what do you get?

DateMath() and DateSerial() User-Defined Functions.

Simply cut-and-paste them from: www.scriptlogic.com/support/kixtart/functionlib.asp