I have a quickie here,
Whenever I try to echo out the time in hours:min:sec using the date() function everything works perfect.
But when I try echoing it out using a variable with a value, it always adds up 2 hours.
Take a look at the code:
$time = time();
$past = 120;
//this works perfectly
echo $time = date("H:i:s",$time);
//but this doesnt. it adds 2 hours.
echo $time = date("H:i:s",$time);