html:
注册时间:
data-link-field="startTime">
style="background-color: #ffffff;">
-
data-link-field="endTime">
###js:
//debugger;
//获取参数
var phoneNo = $('#phoneNo').val();
var startDate = $('#startTime').val();
var endDate = $('#endTime').val();
/把时间格式横杠转化为斜杠
var newStartDate = startDate.replace(/-/g,"/");
var newEndDate = endDate.replace(/-/g,"/");
console.log(newEndDate);
console.log(newStartDate);
console.log(startDate);
console.log(endDate);
转化为年月日时分秒
var newLastLoginTime