adilmarwat Posted February 16, 2010 Share Posted February 16, 2010 I am using mysql.I have the problem that I have created the table name "act" contains 3 fields id(int), item(char), date(date)When i generate the query to display all information in table, the date field shows date like that 01/20/2010.I want to set the format for date like 20/01/2010 every time when i use the query. How it is possible. please help me.Adil Link to comment Share on other sites More sharing options...
justsomeguy Posted February 16, 2010 Share Posted February 16, 2010 You can use date_format to format the date however you want:http://dev.mysql.com/doc/refman/5.1/en/dat...ion_date-format Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.