(not sure how to cast that _year attribute to an integer)
Hi,
I need to only filter records from a date field that are in the current financial year.
e.g.
if month(current_date) => July
start_date = 1st July getYear()
end_date = 30 June getYear(+1)
else
start_date = 1st July getYear() -1
end_date = 30 June getYear()