dateadd . . . .again

  • Thread starter Thread starter Newbie
  • Start date Start date
N

Newbie

Hi
how can I always return the last day of the month preceding the month that
we are currently in?

i.e for any date in September I want to be able to return 31/8/2003
 
You might try an expression like:

DateSerial(Year(Date()),Month(Date()),0)
 

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

Similar Threads

DateAdd thought 3
DateAdd and Month functions 7
DateAdd Problems 2
Excel Vba to change displayed year automatically. 14
DateAdd 1
Dates swapping 3
Access Access Query 0
How do I change default months in Lebans' MonthCalendar function? 2

Back
Top