All parameters whould be integers. Unquote them and use intval to strip the leading zeros.
On 1/29/03 11:51, "Gareth Mulholland" <[EMAIL PROTECTED]> wrote: > I'm having problems with mktime and Midnight on 30th March 2003. > > The code I'm using is: > > echo mktime(0,0,1,'03','29','2003'); > echo mktime(0,0,1,'03','30','2003'); > echo mktime(0,0,1,'03','31','2003'); > > but the result is: > > 1048896001 > -3661 > 1049065201 > > Therefore date is giving me 31 Dec 1969. Is this a problem with UNIX or PHP? > > Thanks > Gareth > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php