DateSerial

M

Mike Golla

When using the DateSerial function to generate the last
day of the month, If in the month of October it will
generate erroneous month and year values but the correct
day value. For all other months it generates properly.
Has anyone seen this error and is there a fix for it?
 
R

Rick Brandt

Mike Golla said:
When using the DateSerial function to generate the last
day of the month, If in the month of October it will
generate erroneous month and year values but the correct
day value. For all other months it generates properly.
Has anyone seen this error and is there a fix for it?

Please post the expression you are using.
 
V

Van T. Dinh

It works fine for me with:

?DateSerial(Year(Date()), Month(Date()) + 1, 0)
31/10/2003
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top