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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php