随笔分类 - 技术
摘要:1 var now = new Date(); //当前日期 2 var nowDayOfWeek = (now.getDay() == 0) ? 7 : now.getDay() - 1; //今天是本周的第几天。周一=0,周日=6 3 var nowDay = now.getDat...
阅读全文
摘要:/* * 功能:实现VBScript的DateAdd功能. * 参数:interval,字符串表达式,表示要添加的时间间隔. * 参数:number,数值表达式,表示要添加的时间间隔的个数. * 参数:date,时间对象. * 返回:新的时间对象. * var now = new Date(); *
阅读全文
摘要:昨天刚配置好的git,今天刚要commit一些修改,就遇到了这个问题** Please tell me who you are.Run git config --global user.email "you@example.com" git config --global user.name "Yo
阅读全文

浙公网安备 33010602011771号