Re: date format to dateformat
| From: | Andrey Sosnitsky | Date: | Sun, 22 Sep 2002 09:00:25 +0000 |
| Subject: | Re: date format to dateformat | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21899@lists.php.net to get a copy of this message | ||
Hello CrossWalkCentral,
Sunday, September 22, 2002, 7:06:18 AM, you wrote:
Try this
$date= "10 01 2002";
list ($day, $month, $year) = explode(" ", $date);
echo "$year-$month-$day";
C> I am having problems coverting the followign date format. Does any one have
C> any insight on this.
C> $date= 10 01 2002
C> I need to conver this to Y-m-d
C> any help would be great
www.pskov.ru
www.invest.pskov.ru
--
Best regards,
Andrey mailto:andrey@pleskov.ru