If a check from the state was received and cashed in 2018 but dated 2017 does it count as 2017 income or 2018 income.