Hi there,
does anybody know, if the behaviour of mktime() on RedHat Linux > 7.2 is
fixed in one of the latest PHP versions?
Since RH 7.3 it is not possible anymore, to get a negative integer from
mktime(), that means you can't get a UNIX timestamp for a date before
1.1.1970I experienced this
How can I make sure the user enters a date in format
mm/dd/ and the date must be between the year 1600
and 2038.
The script below meets the criterion above, except
mktime() or strtotime() does not validate year 1600
dates. Any suggestions? Thanks
$dateparts = explode('/', $Date);
$month =
0617600 1003852813~
--
Regards,
=dn
> Oh dear, I still get -3600 when I do
>
> echo gmmktime(0,0,0,1,1,1970);
>
> Why?
>
> James
>
> -Original Message-
> From: Fairbairn,J,James,IVLH4 C
> Sent: 23 October 2001 13:57
> To: [EMAIL PROTECTED]
> S
Oh dear, I still get -3600 when I do
echo gmmktime(0,0,0,1,1,1970);
Why?
James
-Original Message-
From: Fairbairn,J,James,IVLH4 C
Sent: 23 October 2001 13:57
To: [EMAIL PROTECTED]
Subject: RE: [PHP] mktime() problem
Thanks, I'll use gmmktime() from now on!
James
-Ori
Thanks, I'll use gmmktime() from now on!
James
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: 23 October 2001 13:54
To: Fairbairn,J,James,IVLH4 C; php-general
Subject: Re: [PHP] mktime() problem
> I'm running 4.0.6 on a Solaris 8 box. The output gi
> I'm running 4.0.6 on a Solaris 8 box. The output given by
> echo mktime(0,0,0,1,1,1970);
> is 3600.
>
> Shouldn't it be 0? My box's locale is set to the UK defaults, so as I write
> this we are in daylight savings (GMT+1). Would this make a difference? (I
> have already tried
> echo mktime(0,0,
Hi All,
This is my first post to this list so forgive me if this has been covered a
million times before
I'm running 4.0.6 on a Solaris 8 box. The output given by
echo mktime(0,0,0,1,1,1970);
is 3600.
Shouldn't it be 0? My box's locale is set to the UK defaults, so as I write
this we are
7 matches
Mail list logo