On Sun, 5 May 2002, Kyle Gibson wrote:
>> Those numbers don't look like timestamps to me (as they can't be larger
>> than about 4294967296). What they look like is the result of some imp or
>> perhaps even a gremlin breaking into your code and smooshing together
>> yearmonthdayhourminutesecond,
> Those numbers don't look like timestamps to me (as they can't be larger
> than about 4294967296). What they look like is the result of some imp or
> perhaps even a gremlin breaking into your code and smooshing together
> yearmonthdayhourminutesecond, then trying to PRETEND it's a timestamp.
>
On Sat, 4 May 2002, Zachary Buckholz wrote:
> $time = getdate($array[0]);
> print "$time[hours]:$time[minutes]:$time[seconds] = $chk_status = $resp_sec
>
> 20020504160503 <-- Notice how this date/time value is updated
> properly each loop
> 20:14:7 = 200 = 2 <-- Not
The following block of code loops over an array but when I call the PHP
function date or getdate the variable used in this function is always the
first one used in the array. What am I doing wrong? The sample output is
below.
foreach ($results_array as $array) {
//$time = date("H:
4 matches
Mail list logo