[EMAIL PROTECTED] wrote on 06/02/2005 09:54:59 PM:

> Input Date ; *format yyyymmdd
> NextMonth = Oconv(Iconv(date[1,6]:'15','D') + 30,'D2')
> I.LastDayPreviousMonth = Iconv(NextMonth[1,2]:'01':NextMonth[5,2],'D') + 
1

That's an interesting approach, but it comes at the price of an extra 
ICONV, which is more expensive than a simple IF statement.  Granted, the 
difference isn't significant for a small number of invocations, but after 
a while it adds up.

By the way, you may want to check the logic of the scrunched version. It's 
not giving you what you want.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to