How long ago was July 9, 2018?

It was 5 years, 9 months, and 2 weeks ago.

This is equivalent to: