This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mysql Date Format

 
Amirtharaj Chinnaraj
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can MYsql Date format be changed to

some other than yyyy-mm-dd like dd-mm-yyyy

i know that in oracle8i it is possible

advance thanks

regards
amir
 
Shilpa Tendulkar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Amirtharaj Chinnaraj:
can MYsql Date format be changed to

some other than yyyy-mm-dd like dd-mm-yyyy

i know that in oracle8i it is possible

advance thanks

regards
amir


Yes you can. Use mysql's DATE_FORMAT(date,format) function
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic