I installed this hack and am testing it - but it is not showing the time properly...
it shows the time without the users offset taken into consideration.
for instance - my offset is -5 hours and it is now 2:05 PM, but the chat box is showing the time as 09:03
here is the lines calculate date & time - any ideas?
$date = $get["date"];
$date = date("Y") . "-" . substr($date, 4, 2) . "-" . substr($date, 1, 2) . " " . substr($date, 7, 2) . ":" . substr($date, 10, 2);
$date = date("[m/d|H:i]", strtotime($date) + ($bbuserinfo['timezoneoffset'] * 3600));
|