摘要:
//设置日期格式 SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");//设置日期格式 //获取借款时间 Date borrowdate = df.parse(borrowId.getDate());//获取的时间 //将时间转换为毫秒 long nowSecond = new Date().getTime(); long birt... 阅读全文
摘要:
//判断是否在前面加0 function getNow(s) { return s < 10 ? '0' + s: s; } var myDate = new Date(); var year=myDate.getFullYear(); //获取当前年 var month=myDate.getMon 阅读全文