title: Formatting Duration (time) in PHP
body: <p>Outputting from a directions api I have a duration it will take the user to get from a to b. At the moment it is minutes but if the users journey will take 3 hours and 20 minutes it will output 200 minutes. </p>
  
  <p>I would like it to work out that that is greater than 60 minutes. then divide by 60 and add the remainder to give </p>
  
  <p>3 hours 20 minutes.</p>
  
  <p>How do we do this.</p>
  
  <p>Marvellous</p>