
February 18th, 2013, 10:30 PM
|
 |
SQL Consultant
|
|
Join Date: Feb 2003
Location: Toronto Canada
|
|
|
you need to understand the difference between a DATE datatype, and the string representation of a date
once you have created your DATE column values, you can display them in whatever format you want, using the DATE_FORMAT function if you want to do it in the sql
however, best practice says to retrieve the DATE untouched, and do any custom formatting in the application language (php or whatever)
|