Re: gmtime?
| From: | Jens Lehmann | Date: | Fri, 24 May 2002 19:31:25 +0000 |
| Subject: | Re: gmtime? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99137@lists.php.net to get a copy of this message | ||
> I don't know what gmtime() is supposed to do. But is gmmktime() similar?
time() returns the number of seconds since the Unix Epoch to the current
local time
gmtime() should return the number of seconds since the Unix Epoch to the
current GM-time
Do you understand now?
gmmktime() does exactly what I want if I don't pass arguments but since
this behaviour is not documented it's probably confusing to a lot of people,
isn't it?
Jens Lehmann