SyntaxFix
Write A Post
Hire A Developer
Questions
i tried to set default time for a picker and it worked:
$('#date2').datetimepicker({ format: 'DD-MM-YYYY 12:00:00' });
this will save in database as : 2015-03-01 12:00:00
used for smalldatetime type in sql server
smalldatetime