I seem to have totaly forgotten how to calculate dates in fp.
I am just trying to get the remaining days of a 90 day trial from when the customer registered, but am drawing a blank.
ldToday = DATE()
ldRegisterDate = CTOD(09/05/2012)
lnDaysRemaining = ldRegisterDate + 90 - ldToday
WAIT WINDOW "remaining days = " + ALLTRIM(STR(lnDaysRemaining))