S Corp Check written from Client on Dec 31 2016 but encashed in 2017.

I worked for a client in Nov 2016 for which they mailed me a check dated Dec 31 2016.  Since i got the check in mail in Jan 2017 , I desposited the check in the S corp Bank Account  the amount came in my bank in 2017 , Should I be repoting this income for 2016 or 2017?


Thanks