Active
Project:
drumbleviewer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2009 at 09:59 UTC
Updated:
11 Dec 2010 at 19:24 UTC
<?php
$onlinesecs = $onlinesecs % (60 * 60 * 24);
$hours = intval($onlinesecs / (60 * 60) );
$onlinesecs = $onlinesecs % (60 * 60);
$mins = intval($onlinesecs / 60 );
$onlinesecs = $onlinesecs % 60;
?>Shouldn't calculate the seconds each time
Just some ideas how to make this awesome
Comments
Comment #1
dawehner