标签:log start details 定时 net UNC 日期时间 判断 nbsp
function dateAdd(startDate) { startDate = new Date(startDate); startDate = +startDate + 1000*60*60*24; startDate = new Date(startDate); var nextStartDate = startDate.getFullYear()+"-"+(startDate.getMonth()+1)+"-"+startDate.getDate(); return nextStartDate; }
判断指定时间是否为周末
function isWeekEnd(date){ if( "天一二三四五六".charAt(new Date(date).getDay())=="天" ) return true; if( "天一二三四五六".charAt(new Date(date).getDay())=="六" ) return true; }
转载https://blog.csdn.net/MyNameIsXiaoLai/article/details/86654252
标签:log start details 定时 net UNC 日期时间 判断 nbsp
原文地址:https://www.cnblogs.com/aknife/p/11783142.html