RE: [PHP] mktime error

From: Date: Mon, 05 Apr 2004 10:34:11 +0000
Subject: RE: [PHP] mktime error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182349@lists.php.net to get a copy of this message
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:aborka1@wmis.net] > Sent: 05 April 2004 11:29 > To: php-general@lists.php.net > 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 > >

« previous php.general (#182349) next »