Jim Phillips @ <[log in to unmask]> wrote:
> Is there an easy way to determine if today is the last day of the
> current month?
Jim,
Try checking to see if tomorrow is the first of some month. Then today has to
be the last day
of the current month. For example, using MPEX, do the following:
%setvar tomorrow (today+1)
%IF STR("!tomorrow",7,2) = "01" THEN
Echo Today is the last day of the month!!
%ENDIF
Now, if you don't have MPEX, I guess you'll just have to try a similar approach
with the programming language of your choice. ;)
- John Hornberger