See if this helps --
From my files - see below my SIG
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com www.pcdatasheet.com
Get The Fiscal Year Or Fiscal Month Of A Particular Date By Using An Expression
To get the fiscal year or fiscal month for a OrderDate where the fiscal year
begins June 16 use the following expressions:
Fyear = Year([OrderDate])-IIf([OrderDate]<
DateSerial(Year([OrderDate]),6,16),1,0)
Fmonth = (Month([OrderDate])+IIf(Day([OrderDate])<16,6,7)-1) Mod 12+1 NOTE: The
FYear and FMonth expressions can be used for for any beginning date of a Fiscal
year by modifying the Date field, the day and the month, to the appropriate
values for the fiscal year. For example, if the fiscal year begins on 9/15 of
the current calendar year, you can modify the previous expressions as follows:
Fyear = Year([FieldName])-IIf([FieldName]<
DateSerial(Year([FieldName]),9,15),1,0)
FMonth: (Month([FieldName])+IIf(Day([FieldName])<15,9,10)-1) Mod 12+1
If the fiscal year begins on 9/15 of the previous calendar year, you can modify
the FYear expression as follows:
Fyear = Year([FieldName])-IIf([FieldName
"Mr C" <ma*********@hotmail.com> wrote in message
news:70*************************@posting.google.co m...
Hi
If i have a field in a database start date and end date, how am I able
to find out which financial years the two dates cover, and populate
colunms in a database with how many months in each financial year ie
if start date was 1/1/2004 to 1/1/2005 there would be 4 months in the
financial year 03/04 and 8 months in the financial year 04/05