Re: Date and Time

From: Date: Mon, 29 Apr 2002 09:01:08 +0000
Subject: Re: Date and Time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95113@lists.php.net to get a copy of this message
seems like you echo an 1 before print $time is called. Look through your code, there must be something printed or echod. Perhaps it's simple some html (?>1<?php) or something. Regards, Michael "Baldey_uk" <baldey_uk@SoftHome.net> schrieb im Newsbeitrag news:BCEJJDCJDPNBLGKFPAOBCEDDCBAA.baldey_uk@SoftHome.net... > 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 > >

« previous php.general (#95113) next »