I used the datetimepicker from: http://eonasdan.github.io/bootstrap-datetimepicker/Installing/
There no provide how to use function (date, show, hide, etc) so I don't know how to set the value for input using datetimepicker using date
function which says:
date([newDate])
Takes string, Date, moment, null parameter and sets the components model current moment to it.
I tried
$('#datetimepicker2').datetimepicker(
date: function() { return new Date(1434544649384); }
);
Where 1434544649384
is a timestamp.
But it doesn't work and doesn't update input text/value...
JsFiddle: http://jsfiddle.net/0Ltv25o8/1397/