title: How to get rough age of a timestamp/datetime object?
body: <p>In PHP, if I have a <code>datetime</code> object or <code>timestamp</code> as properties of an object, how can I get a rough age for the record in PHP.</p>
  
  <p>So that instead of a formated date string it says something like<br><code>"about 1 hour ago", "3 days ago", "1 year ago"</code> etc.<br>A bit like redmine has for task comments, for example.</p>
  
  <p>What is this process called?<br>I tried searching for age and <code>datetime</code> and keep finding code to get someone's age of birth, which is not what I'm looking for.</p>