摘要:
/* 获取本周、本季度、本月、上月的开端日期、停止日期*/ var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMonth 阅读全文
摘要:
$scope.downLoad=function(id){ var tt =new Date().getTime(); var url = root +'/ly/fileInfo/download.action?fileInfo.id='+id 这是下载文件的URL和参数 var form=$("< 阅读全文
摘要:
内置函数data时间格式转换 function getDateString(date) { var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); // 当月的几号 var h 阅读全文