摘要:
//获取当前时间 var currentTime = new Date(); //自定义指定时间,需要标准格式的时间 var customTime="2019-03-01 00:00:00"; customTime= customTime.replace("-","/");//替换字符,变成标准格式 阅读全文
摘要:
###运行程序时候,错误提示为: Unable to translate set operation when matching columns on both sides have different store types ###原因: 数据库查下使用 Union 方法时候,前后两个查询的字段类 阅读全文
摘要:
const calculateTime= function(begin: string, end: string) { var dateBegin = new Date(begin); var dateEnd = new Date(end); var dateDiff = dateEnd.getTi 阅读全文