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:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 8:00 PM
To: [EMAIL PROTECTED]
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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to