Re: [PHP] Re: help with date formatting

2002-03-18 Thread JSheble
I always use the mySQL DATE_FORMAT function in my queries themselves... SELECT DATE_FORMAT( someDatField, "%m/%d/%Y" ) as thedate FROM someTable At 12:23 PM 3/18/2002 -0600, Ryan wrote: >On Mon, 18 Mar 2002 11:51:07 -0600 >Ryan <[EMAIL PROTECTED]> wrote: > >By, the way I'm getting the date fro

[PHP] Re: help with date formatting

2002-03-18 Thread Ryan
On Mon, 18 Mar 2002 11:51:07 -0600 Ryan <[EMAIL PROTECTED]> wrote: By, the way I'm getting the date from a MySQL database. The posted date variable is stored as the date type in the MySQL database so it comes out like this 2002-03-06. Should I convert the date into a time stamp or how should I

[PHP] Re: help with date formatting

2002-03-18 Thread Joshua E Minnie
"Ryan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, I'm trying to create an events page, where it shows the posted > events. I enter data using phpmyadmin. Currently, the ouput is like > this: > > ---