title: laravel - sum of time from mysql database
body: <p>Welcome ! I made in function this query 
  <code>$time= DB::table('notes') -&gt;where('pilot_id', $id) -&gt;sum('time');</code> </p>
  
  <p>but i get format like this 120000 and it should be 1:20 how to get it?( hours:minutes)</p>
  
  <p>Time is stored in database as "time" type</p>