How long ago was October 4, 2017?

It was 7 years, 7 months, and 3 weeks ago.

This is equivalent to: