Re: Date problem!

From: Date: Mon, 11 Sep 2000 17:10:17 +0000
Subject: Re: Date problem!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16196@lists.php.net to get a copy of this message
try print($tes) - it's probably not what you think it should be. $tes, I believe, would be seen as a number - 20,000,214 You'll have to split up the $tes somehow, then feed it to the date() function. But if you're splitting it up, you already know what it is. manohar sadhasivam wrote: > Hi, > when i try to use this , it returns the current date instead of the given > one. > $tes="20000214"; > echo date("d:m:Y",time($tes)); > > please help. > "sadhasivammanohar@hotmail.com" > mano > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com 734-480-9961

« previous php.general (#16196) next »