Access (T-SQL) Financial year derived from date field

/ Published in: SQL
Save to your folder(s)

Derive and output financial year in T-SQL (MS Access), based on value in given date field.

Copy this code and paste it in your HTML
  1. Financial_Year*: IIf(MONTH([DateField])>3,YEAR([DateField]) & "/" & RIGHT((YEAR([DateField])+1),2),(YEAR([DateField])-1) & "/" & RIGHT((YEAR([DateField])),2))

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.