RE: [PHP] Tried that..

2002-08-10 Thread David Freeman
> I've tried that, but as usual rtfm doesn't help me. I need > concise examples > :( > > How would I write this basic select query to get the date in > my format > (Saturday, August 10th, 2002)? > SELECT datum FROM news_items > (where "datum" is the date-stamp in "-MM-DD" format)

Re: [PHP] Tried that..

2002-08-10 Thread Rasmus Lerdorf
This isn't really a PHP question, is it? This is a function of your database, and since you don't mention which database you are using it is a bit hard to answer. Assuming MySQL, there is an entire chapter in the MySQL docs on exactly how to do this: http://www.mysql.com/doc/en/Date_and_time_fu