Change Year (Now()) to Fiscal Year beginning Oct. 1st

jzacharias

Registered User.
Local time
Today, 06:33
Joined
Sep 13, 2010
Messages
137
Is there a way to change the Year(Now()) function in the criteria to begin October 1st instead of January 1st?
 
Not that I'm aware of. I'd use a function. Here's one out of a program I wrote for a university, just to give you an example.

Code:
Public Function SchoolYearStart(TestDate As Date) As Date
  If TestDate < DateSerial(Year(TestDate), 7, 1) Then
    SchoolYearStart = DateSerial(Year(TestDate) - 1, 7, 1)
  Else
    SchoolYearStart = DateSerial(Year(TestDate), 7, 1)
  End If
End Function
 
I will try that, Thanks
 
No problem, post back if you get stuck.
 

Users who are viewing this thread

Back
Top Bottom