on 07/01/03 5:13 PM, Bruce Levick ([EMAIL PROTECTED]) wrote:
> That's sweet. Can you just satisfy my curiosity and explain the 86400??
> I am thinking this might be minutes??
60 seconds * 60 minutes * 24 hours = 86400 seconds per day
we're increasing $stamp by 1 day each iteration of the while lo
Bruce Levick wrote:
That's sweet. Can you just satisfy my curiosity and explain the 86400??
I am thinking this might be minutes??
It the number of seconds in a day.
But that solution doesn't take into account Daylight Savings Time.
The one I posted does, I think ...
Jc
--
PHP General Mailin
That's sweet. Can you just satisfy my curiosity and explain the 86400??
I am thinking this might be minutes??
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 4:12 PM
To: Bruce Levick; [EMAIL PROTECTED]
Subject: Re: [PHP] populate a
I'm *positive* there is a better way, but this should work (untested):
0) { $stamp = $stamp + 86400; }
$date = date('d-m-Y',$stamp);
echo "{$date}";
$i++;
}
?>
Cheers,
Justin
on 07/01/03 4:39 PM, Bruce Levick ([EMAIL PROTECTED]) wrote:
> Howdy,
> I am looking to populate
4 matches
Mail list logo