Please try the following code:
$('#test').datetimespinner({
value:'8/18/2018 10:30:12',
});
console.log($('#test').datetimespinner('getHours')) //The result should be 10 instead of 8
In addition, can the datetimespinner component increase the year, month, and day acquisition methods?