Jim,
If you can add 1 day to the target date, you can see if the month
changes. Then you know that you have the last day of the month.
John Zoltak
North American Mfg Co
> -----Original Message-----
> From: Therm-O-Link [SMTP:[log in to unmask]]
> Sent: Friday, October 23, 1998 3:32 PM
> To: [log in to unmask]
> Subject: [HP3000-L] Determining The Last Day Of The Month
>
> Is there an easy way to determine if today is the last day of the
> current month?
>
> I know I can do it with some effort by coding a series of IF
> statements
> and checking what the current month is and if the current day is 31 or
>
> 30 or 29 or 28 (depending on the month and whether the current year is
>
> a leap year or not), but I'd like to do it in and easier (and
> hopefully)
> more efficient manner.
>
> Jim Phillips Manager of Information Systems
> E-Mail: [log in to unmask] Therm-O-Link, Inc.
> Phone: (330) 527-2124 P. O. Box 285
> Fax: (330) 527-2123 Garrettsville, Ohio 44231