标签: javascript add datetimepicker timepicker
我想用javascript将datetimepicker的值与timepicker的值相加。所以约会+时间?我们怎么做呢?
var datetime = $("#appoimentDate").val(); var time = $("#timepicker").val();
结果;
date = "26.03.2018 08:15:00" , time = "2:00" result = 26.03.2018 10:15:00
如何正确输出结果?