> In my MySQL db I have a date-field on every entry looking like this : > 2002-08-10 > When presented on a PHP page, I want it converted to > "Saturday, Augusth > 10th, 2002". > > How do I achieve that? I've been playing around with the > date-command and > strtotime-command but haven't achieved it.
Do it in your mysql query instead. Have a look at DATE_FORMAT() in your friendly local neighbourhood mysql manual. Chapter 6.3.4 or thereabouts. CYA, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php