I have the following code:
$mintime = 15; now = time(); $timediff = ($now - $_SESSION["StartTime"] + 1); $newdate = $newdate.' - '.$timediff.' - '.$now.' - '.$_SESSION["StartTime"];The date as it is usually displayed, looks like this:
date=25.07.2006 13:55 - 4 - 1153828543 - 1153828540
When the time difference between $now and the previously stored $_SESSION["StartTime"] is zero, the display looks like this, although I have added one to hat difference:
date=25.07.2006 14:04 - 1153829072 - 1153829071 -
I cannot see why $timediff , which cannot be less than one, is not being displayed.
That the other twp variables move forward by one position, still remains a true mystery.
There must be a trivial explanation for this!