> I am at my wits end at the moment. I am pulling a 
 > datetimestamp out of a database and attempting to 
 > get the year month and day out of it.

Do it in your sql query.  Check out chapter 6 of the MySQL manual for
ways to manipulate dates.

Eg.  $query = "select DATE_FORMAT(DTStamp, '%e %b %y') AS DispDate WHERE

Will get you a date as day month year.  There's heaps of options and you
should probably read up on them.

CYA, Dave

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

Reply via email to