/ Published in: SQL
Derive and output financial year in T-SQL (MS Access), based on value in given date field.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Financial_Year*: IIf(MONTH([DateField])>3,YEAR([DateField]) & "/" & RIGHT((YEAR([DateField])+1),2),(YEAR([DateField])-1) & "/" & RIGHT((YEAR([DateField])),2))