检测开始日期 结束日期 是否存在交叉 "+tj+" and ((starttime>="+starttime+" and starttime<="+endtime+") " + " or (endtime>="+starttime+" and endtime<="+endtime+" ) or (starttime>="+starttime+&qu
Ext.apply(Ext.form.VTypes,{ daterange: function(val, field) { var date = field.parseDate(val); // We need to force the picker to update values to recaluate the disabled dates display var dispUpd = function(picker) { var ad = picker.activeDate; picker
为了保护小程序应用安全,微信官方的需求文档要求,每个微信小程序必须事先设置一个通讯域名,并通过HTTPS请求进行网络通信,不满足条件的域名和协议无法请求.因此开发者应先准备好配置好HTTPS证书的域名,还没有配置HTTPS要赶紧升级. SSL证书的选择 域名要实现HTTPS加密请求,需要安装SSL证书.SSL证书的种类那么多,怎么选择适合自己网站的SSL证书? 1)SSL证书类型 DV SSL证书(域名验证型):只验证域名所有权,适合个人网站.博客等站点使用: IV SSL证书(个人验证型):验
util.js : function transTime(unixtime) { var dateTime = new Date(parseInt(unixtime) * 1000) var year = dateTime.getFullYear(); var month = dateTime.getMonth() + 1; var day = dateTime.getDate(); var hour = dateTime.getHours(); var minute = dateTime.g
public static Date getFirstDayOfWeek(Date date) { Calendar c = new GregorianCalendar(); c.setFirstDayOfWeek(Calendar.MONDAY); c.setTime(date); c.set(Calendar.DAY_OF_WEEK, c.getFirstDayOfWeek()); // Monday return c.getTime(); } public static Date getL