At 13:11 +1100 11/22/02, Alan McDonald wrote:
>this might give you some ideas
>select
>CONCAT(DAYOFMONTH(p.DATEGOLIVE),'.',MONTH(p.DATEGOLIVE),'.',YEAR(p.DATEGOLIV
>E)) DATEGOLIVEF
>from my table p
It's a little easier to use DATE_FORMAT(d,'%M, %d, %Y') instead.
>
>> -----Original Message-----
>> From: Alex Behrens [mailto:bigal@stripped]
>> Sent: Friday, 22 November 2002 13:01
>> To: MYSQL
>> Subject: date conversion problem
>>
>>
>> Hey All,
>>
>> I'm storing date values for hockey game information using the
>> DATE value and
>> they are stored as YYYYMMDD and when I retrieve them from the
>> database they
>> are shown as: "2002-11-23" I was wondering if there was a way to have them
>> converted to November, 23, 2002 when they are displayed on my displayed on
>> the page. Is this possible?
>>
>> mysql
>>
> > Thanks!