title: Get difference of two date in user friendly format using php
body: <p>So I'm trying to work out the length of time till a <strong>Date Time</strong> is reached in a user-friendly way. </p>
  
  <p>For example, say the current date time is <code>2018-09-10 12:00:00</code> and the end goal is <code>2019-11-10 12:00:00</code> I want to simply echo <em>1 Year</em>, or say it's <code>2018-09-10 13:30:00</code> echo <em>1 hour</em> if the time is under a minute just say 1 minute. </p>
  
  <p>I'm really struggling to find any resource describing how to easily do this without a shit ton of if statements.</p>