RE: [PHP] datetime field - still a newbie

2002-07-25 Thread John Holmes
I have a datetime field in one of my mysql tables...when displaying some of my records I want to display the date in the aforementioned datetime field, but if the date is today I want to display today instead. If the date is yesterday I want it to display that so I how do I compare

Re: [PHP] datetime field - still a newbie

2002-07-25 Thread Alexander Ross
Thanks bunches John Holmes [EMAIL PROTECTED] wrote in message 001101c233ba$3de3d430$b402a8c0@mango">news:001101c233ba$3de3d430$b402a8c0@mango... I have a datetime field in one of my mysql tables...when displaying some of my records I want to display the date in the aforementioned

RE: [PHP] datetime field - still a newbie

2002-07-24 Thread David Freeman
I have a datetime field in one of my mysql tables...when displaying some of my records I want to display the date in the aforementioned datetime field, but if the date is today I want to display today instead. If the date is yesterday I want it to display that so I how do I