Your Server will most likely run in a different timezone. If both of you would use gmktime() the result will be the same.
As for the negative result: Had the same problem some time ago - seams to me as if PHP doesn't like those 0,0,0 ( try 0,0,1 instead ) - You can adjust the result by reducing the result by 1 $var = mktime ( 0,0,0,4,4,2004 ) - 1 ; -- red Am Montag, 5. April 2004 12:29 schrieb Andy B: > "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