HELP: In statistic profile

224
.
SpAgEtE
Hi, i need in statistic on profiles where it shows how much user stay on site it shows in Days, anyone know how to set to show like 4 Days 23hrs 22minutes
also for hours to show to 24 and when comes 24 goes to +1 day also for minutes when 60 adds to minutes +1 and resets to 0 minutes again and counting
.
blackvj
SpAgEtE, replace
' . functions::timecount($user['total_on_site']) . '


on

' . date("d.H:i", $user['total_on_site']) . '
.
Hmm now shows 03:34:00 before was 6days
.
now works
.
Hmm how to set to shows "6 Days 20 Hours 20 Minutes"?
.
' . date("d", $user['total_on_site']) . 'Days ' . date("H", $user['total_on_site']) . 'Hours ' . date("i", $user['total_on_site']) . 'Minutes


i set it like that but for days shows 06 anyhow i can set to show 6?
.
SpAgEtE,
'.date("j \D\a\y\s (H \H\o\u\\r\s : i \M\i\\n\u\\t\e\s)", $user['total_on_site']).'
.
That code shows 1 day and 00hours 00minutes
Всего: 8