This is my datetimepicker
$('input.bsdatepicker2').datetimepicker({
format: 'mm/dd/yyyy hh:ii',
startDate: '+0d',
});
How to set the datetimepicker date format to the computer's regional settings, whatever they are. I'm passing this date as a JSON and later converting it in c# and its causing me problems.