Lister
Z Shift
- Local time
- Tomorrow, 09:07
- Joined
- Aug 24, 2003
- Messages
- 305
They want to change the way we do months here at work. Instead of having a month start at the 1st and finish on the last day of the month.
They would like to go over to using 27th until the 26th.
For example, April 2004 would start on the 27th or March and end on the 26th of April.
The object of this is to try and stop the mad rush to get product out on the last day, or so, of the month. And then have the customers not want to pay for it until the next month.
So here is my problem.
At the moment I use this code to generate the queries that sort what product is still to ship each month. By using this in the DeliveryDate [Date/Time] criteria it just clicks over each month.
Between DateSerial(Year(Date()),Month(Date()),1) And DateSerial(Year(Date()),Month(Date())+1,0)
Now if I change this to start on the 27 and end on the 26 there would be a gap at the end of each month (Between the 27th and the 31st for example) where is can’t work out where it is.
Well it can but it wouldn’t work for us.
Any ideas on how I could fix this?
Or is this as clear as mud?
Thanks for any help
Lister
They would like to go over to using 27th until the 26th.
For example, April 2004 would start on the 27th or March and end on the 26th of April.
The object of this is to try and stop the mad rush to get product out on the last day, or so, of the month. And then have the customers not want to pay for it until the next month.
So here is my problem.
At the moment I use this code to generate the queries that sort what product is still to ship each month. By using this in the DeliveryDate [Date/Time] criteria it just clicks over each month.
Between DateSerial(Year(Date()),Month(Date()),1) And DateSerial(Year(Date()),Month(Date())+1,0)
Now if I change this to start on the 27 and end on the 26 there would be a gap at the end of each month (Between the 27th and the 31st for example) where is can’t work out where it is.
Well it can but it wouldn’t work for us.
Any ideas on how I could fix this?
Or is this as clear as mud?
Thanks for any help
Lister