2020年9月2日

laydate的常规使用,设置日期最大不能超过当前日期

摘要: <script> layui.use('laydate', function(){ var laydate = layui.laydate; //执行一个laydate实例 laydate.render({ elem: '#birthDate', //指定元素 max: getNowFormatDa 阅读全文

posted @ 2020-09-02 13:55 蔚l来 阅读(1457) 评论(0) 推荐(0)

关于SQL时间类型的模糊查询

摘要: 1.Convert转成String,在用Like查询。select * from table1 where convert(varchar,date,120) like '2006-04-01%' 2.Betweenselect * from table1 where time between '2 阅读全文

posted @ 2020-09-02 11:42 蔚l来 阅读(1230) 评论(0) 推荐(0)

导航