- Impact
- 1
On the site I'm working on I store the date in a MySql table every time a member submits a form. The default format for DATE in MySql is YYYY-MM-DD but I want it to display as MM-DD-YYYY when its called to be displayed.
Is there a way to do this in PHP or should I just change it from DATE to something like VARCHAR, which kind of screws up with ordering by date.
Is there a way to do this in PHP or should I just change it from DATE to something like VARCHAR, which kind of screws up with ordering by date.







