function localDateForMat(obj) {
da = new Date(obj);
var year = da.getFullYear();
var month = da.getMonth() + 1;
var date = da.getDate();
//console.log([year, month, date].join(‘/‘));
return [year, month, date].join(‘/‘);
标签:mon fun 时间 ret lda gpo for form post
function localDateForMat(obj) {
da = new Date(obj);
var year = da.getFullYear();
var month = da.getMonth() + 1;
var date = da.getDate();
//console.log([year, month, date].join(‘/‘));
return [year, month, date].join(‘/‘);
标签:mon fun 时间 ret lda gpo for form post
原文地址:https://www.cnblogs.com/whhsq/p/8352188.html