RE: [PHP] timestamp problem !!

From: Date: Tue, 15 Jul 2003 20:05:17 +0000
Subject: RE: [PHP] timestamp problem !!
Groups: php.general 
Request: Send a blank email to php-general+get-155303@lists.php.net to get a copy of this message
Read the last comment at the bottom of this page : http://www.weberdev.com/get_example.php3?count=787 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -----Original Message----- From: Nabil [mailto:nabil.attar@aws-syria.com] Sent: Tuesday, July 15, 2003 8:00 PM To: php-general@lists.php.net Subject: [PHP] timestamp problem !! 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

« previous php.general (#155303) next »