What version of PHP, OS, web server, etc are you running? Is that the exact code you used? Did you try it in a file all by itself and did it return the same result?
---John Holmes... > -----Original Message----- > From: baldey_uk [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 28, 2002 6:22 PM > To: Php-General > Subject: [PHP] Date and Time > > Hi all, > > Anyone know any reason that the date function would return 2am in the > morning as 102 if i use it in the following manner? > > $time=date("H:i:s"); > print $time; > > > this outputs 102:14:51 instead of 02:14:51, anyone know where the 1 comes > from? and why its there? > > > Cheers From > > baldey_uk > > > > -- > 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