timestamp problem !!

From: Date: Tue, 15 Jul 2003 18:00:30 +0000
Subject: timestamp problem !!
Groups: php.general 
Request: Send a blank email to php-general+get-155160@lists.php.net to get a copy of this message
i have <?php $timy = '20030714012548'; // time stamp from MySQL echo strtotime = ($timy); $date = ("Y-m-d" , $timy); ?> and i have a wrong result.... how can i extract the YYYY-MM-DD from the string $timy.... Please Advice.... Nabil

« previous php.general (#155160) next »