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

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -