🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

slickDTP is a jQuery & jQuery UI plugin which provides a slick time / date picker that is easy to navigate in a dialog popup.

jQuery-UI Date-Picker Time-Picker

Documentation

slickDTP

JQuery Calendar and Clock for choosing date and time

Please look at the sample provide.

Java script looks like this:

var slickDTP = new SlickDTP(); 	 $( "#mysqldate" ).click(function() { 	slickDTP.pickDate('#mysqldate','#prettydate'); }); 

where #mysqldate is the ID of the form element that will get the choosen date time in MySQl Format (YYYY-MM-DD HH:MM:SS). where #prettydate is the ID of the form that will show the selected dat time but in a friendly way. i.g. June 25, 2015 @ 6:30 PM

I recommend using the form type hidden for the mysql date.


You May Also Like