FUNCTION Date_diff(old_date as String, new_date as String) as String
dd2=CTOD(new_date)
dd1=CTOD(old_date)
*!* dd2={02/03/2012}
*!* dd1={01/01/2012}
result=dd2-dd1
IF result < 0
MESSAGEBOX("Check the Date")
return
endif
xxYear=0
xxMonth=0
xxDay=0
j=0
k=result
z=0
IF result > 365
FOR I=0 TO...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.