Time and SQL
$SvrTime = mysql_result($result,0,"vc_checktime");$SvrTime1 = mysql_result($result,1,"vc_checktime");
echo $SvrTime;
echo "<br>";
$check = time() - $SvrTime ;
echo $check;
echo "<br>";
echo "<br>";
echo "<br>";
echo "<br>";
echo $SvrTime1;
echo "<br>";
$check1 = time() - $SvrTime1 ;
echo $check1;
output:
2005-08-12 14:31:21
1123849178
2005-08-10 17:24:25
1123849178