Page 2 of 2

Posted: Thu Sep 26, 2002 12:27 pm
by nielsene
Coco wrote: i cant use time()+3600 because i am looking for the next hour dead on, not 1 hour in the future
I don't see the difference... Internally mktime is going to build a unixtime stamp by multiplying the different components by the scale factor in seconds.

All that I see you doing is getting the day/month/year for one hour in the future. Both methods give the exact same results, except the time()=offset method has many fewer function calls...

Can you explain why there is a difference?

Posted: Thu Sep 26, 2002 12:30 pm
by Coco
hmmm
*thinks*
no i cant :oops: