Date format for PHP sorting with Mysql (Datepicker) -


i'm using datepicker allow users add events calendar db table want able let other users search database , pick dates between 2 values, wondering best date format @ moment it's not ordering them correctly (at moment i'm using d-m-y). have put in timestamp , decode php format in website or there easier way?

mysql's default format dates yyyy-mm-dd (iso 8601). if work dates in format can use mysql's default sorting order them you.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -