3170 = 365 * 8.68 (roughly)
8 * 12 = 96 months
3170 - (8*365) = 250 days
250 / 30 = 8.3333 = about 8 months 10 days
365 / 12 = 30.4166666, then *8 = 243.3333
366 / 12 = 30.5, then *8 = 244
It doesn't look like there's any way 250 days could be 9 months, even with any funny business involving leap years, so:
3170 days = 8 years, 8 months, and a few days
8 years, 8 months = 104 months
Answer: 104 months.