> > -Original Message-
> > From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> > Sent: 27 May 2002 12:48
> >
> > > > -Original Message-
> > > > From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> > > > Sent: 24 May 2002 20:31
> > > >
> > > > time() returns the number of seconds since the
> -Original Message-
> From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> Sent: 27 May 2002 12:48
>
> > > -Original Message-
> > > From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> > > Sent: 24 May 2002 20:31
> > >
> > > time() returns the number of seconds since the Unix Epoch to
> >
AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] gmtime?
> > -Original Message-
> > From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> > Sent: 24 May 2002 20:31
> >
> > time() returns the number of seconds since the Unix Epoch to
> > the current
> > loc
> > -Original Message-
> > From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> > Sent: 24 May 2002 20:31
> >
> > 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
> >
> -Original Message-
> From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
> Sent: 24 May 2002 20:31
>
> 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
>
> I don't know what gmtime() is supposed to do. But is gmmktime() similar?
> http://www.php.net/manual/en/function.gmmktime.php
> -Kevin
Sorry, my first answer was incorrect. gmmktime() does not do what I want.
Do you have any other suggestion why we need/don't need gmtime()?
Jens
--
PHP G
> 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 exact
> Did you see gmdate()?
> http://www.php.net/manual/en/function.gmdate.php
Yes, of course.
I can do time()-date("Z") to have gmtime
(or maybe) something better, but wouldn't it be better to
have gmtime() implemented anyways? Please tell me if I
missed something. Thank you.
Jens Lehmann
PS: dat
I don't know what gmtime() is supposed to do. But is gmmktime() similar?
http://www.php.net/manual/en/function.gmmktime.php
-Kevin
- Original Message -
From: "Jens Lehmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 24, 2002 12:51 PM
Sub
Did you see gmdate()?
http://www.php.net/manual/en/function.gmdate.php
-Original Message-
From: Jens Lehmann
[mailto:[EMAIL PROTECTED]]
Sent: May 24, 2002 2:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] gmtime?
Any reasons why there's no gmtime()-function in
PHP? I'd like to
Any reasons why there's no gmtime()-function in PHP? I'd like to hear your
thoughts.
Jens Lehmann
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
11 matches
Mail list logo