DateTimePicker
DateTimePicker copied to clipboard
12 hour time digits
How do I get the following format? dd/MM/yyyy h:mm AA
note the one h
for 0-12 as opposed to 00-12
The following doesn't work:
var $div = $("<div>", {id: "DatePicker"});
$("body").append($div);
$div.DateTimePicker({
dateTimeFormat: 'dd/MM/yyyy h:mm AA',
dateSeparator: '/'
});