adilmarwat Posted February 16, 2010 Report 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 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now