Last day of month

Gkirkup

Registered User.
Local time
Today, 06:32
Joined
Mar 6, 2007
Messages
628
I need to print warranty labels with a date that is three years after the last day in the current month. I can do the three years OK, but how can I calculate the last day in the current month?
Perhaps go to the 1st day of the next month and deduct 1 day?

Robert
 
Last day of current month:
Code:
?dateserial(year(date),month(date)+1,0)

The zero-th day of next month is the last day of this month.

Share & Enjoy!
 

Users who are viewing this thread

Back
Top Bottom