Jump to content

Dates


Ninjakreborn

Recommended Posts

I have dates in the DB set as varchar (not datetime) and the format '5/13/2009'.

So I want to get results from the database that are sorted by this date...the newest ones would show first.

 

I have tried an order by on the "news_date" field which is the date column but it makes no difference.

 

Any advice?

Link to comment
https://forums.phpfreaks.com/topic/201751-dates/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.