automatically calculate reporting years