end of month

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to return the end of the month from any given date.

e.g. 22/06/2005 would return 30/06/2005

Does anyone know how in a query this can be done ?
 
DateSerial(Year([YourDate]), Month([YourDate]) + 1, 0)

will give the end of the month correspond to [YourDate].
 

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

Back
Top