>hi,
>is there a routine that returns the last day of the month? something like lastdayofmonth(date()) giving me 31 for the month of august etc. I could write a routine but thought i saw one before but cannot find it.
>~M
GoMonth(date(MyYear, MyMonth,1),1) -1
See also
Some useful date functions FAQ #7661
If it's not broken, fix it until it is.
My Blog