George-Bowyer
Registered User.
- Local time
- Today, 04:56
- Joined
- Dec 21, 2012
- Messages
- 178
Hello,
I have a club where people start in positions of office on the 1st of August each year.
I want to put a default date in fldStartDate of the following 1st August.
I can almost do this with DateSerial - but I'm struggling with the year.
From January to July, the start date will be 1st August of the Current year and from August to December, the start date will be 1st August of the following year.
Do I have to do a clumsy IF or select case clause on the month to set the year as Date() or Date()+1?
I feel as if there should be a neater way to automatically get to the next
1st August?
Many thanks,
George
I have a club where people start in positions of office on the 1st of August each year.
I want to put a default date in fldStartDate of the following 1st August.
I can almost do this with DateSerial - but I'm struggling with the year.
From January to July, the start date will be 1st August of the Current year and from August to December, the start date will be 1st August of the following year.
Do I have to do a clumsy IF or select case clause on the month to set the year as Date() or Date()+1?
I feel as if there should be a neater way to automatically get to the next
1st August?
Many thanks,
George