Page 1 of 1

Dates, need help...

Posted: Wed Jun 10, 2009 1:42 pm
by WithHisStripes
Heya - so MySQL date/time stamp looks like this: YYYY-MM-DD HH:MM:SS

But I need it to know how to order dates that are represented like this: June 10th, 2009 at 11:41 AM

Is there a way to accomplish this?

Thanks!

Re: Dates, need help...

Posted: Wed Jun 10, 2009 1:57 pm
by s.dot
Have a look at strtotime(). It will convert your dates into unix timestamps that can be ordered numerically.