I got 1081047600 for
$time=mktime(0,0,0,4,4,2004);
echo $time;

(RH9, PHP 4.3.4)
....

On Mon, 5 Apr 2004 11:34:11 +0100, Nunners wrote:
I got 1081033200....

Two thoughts:
1 - is $time a global variable predefined as the current time? Don't
think
it is?!?!?!

2 - Could it be to do with local time settings i.e. comparing american
dates
with UK dates (1/Aug/04 and 8/1/04)?

Nunners



> -----Original Message-----
> From: Andy B [mailto:[EMAIL PROTECTED]
> Sent: 05 April 2004 11:29
> To: [EMAIL PROTECTED]
> Subject: [PHP] mktime error
>
> "On my personal machine the return value is:
>
> 1081026000"
> interesting... i got 1081054800 from mine with the code:
> <?
> $time=mktime(0,0,0,4,4,2004);
> echo $time;
> ?>
>
>  even on cli it gives the same thing....
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to