Yes, i think that my code is sensitive in SET DATE settings. I guess i forgot to store the date settings first [using SET('DATE')] before doing the function and returning it back.
I think your code returns the first day of the month, not the last.
It will return the first day, I tested it. Maybe you just missed the RETURN ddate - 1 command before the ENDFUNC.
kilroy
philippines "and that's what we call creativity..."
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.