jQuery datepicker format date…

Here is how to format a JQuery datepicker id ASP.NET .aspx file:

$(document).ready(function () {
$(function () {
var pickerOpts = { dateFormat: “d-M-yy”};
$(“#”).datepicker(pickerOpts);

});
});

Simple unless it’s you first time. Here is a link to a great reference on the subject.

Leave a comment