Re: [PHP] Problem with Date (2003-03-30)

2003-01-29 Thread Dale Schell
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'); >

RE: [PHP] Problem with Date (2003-03-30)

2003-01-29 Thread Johnson, Kirk
> -Original Message- > From: Gareth Mulholland [mailto:[EMAIL PROTECTED]] > > 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',

[PHP] Problem with Date (2003-03-30)

2003-01-29 Thread Gareth Mulholland
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