Which governs year of income-date of check or date received?

Form 1099-Misc includes compensation for a check issued by the Payer dated 12/26/17 but was received by me 1/19/18. 2017 income or 2018?