Jump to content

[SOLVED] DATE help.


play_

Recommended Posts

I store a date in a 'DATE' column type in my SQL database, in the following format YYYY-MM-DD.

 

I'd like to retrieve it and output it out as (ie. May 05, 2009).

 

How can I accomplish this?

 

 

I could store it as a timestamp in a varchar field, but i will eventually need to compare dates, so field type can't be varchar.

Link to comment
https://forums.phpfreaks.com/topic/154767-solved-date-help/
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.