摘要: select strftime('%Y-%m-%d %H:%M:%S','now','+1 day','localtime','start of day','-1 seconds') 阅读全文
posted @ 2018-09-12 15:11 hotshopping88 阅读(134) 评论(0) 推荐(0)
摘要: julianday(datetime('now','localtime'))*86400 -julianday("你的时间字段")*86400>0 阅读全文
posted @ 2018-09-12 14:56 hotshopping88 阅读(428) 评论(0) 推荐(0)
摘要: 当天时间的0:00:00 strftime('%Y-%m-%d %H:%M:%S','now','localtime','start of day') 阅读全文
posted @ 2018-09-12 09:53 hotshopping88 阅读(330) 评论(0) 推荐(0)
摘要: 用httpwebrequest访问一个SSL类型的地址 https://xxxx 时,报错 “未能为 SSL/TLS 安全通道建立信任关系(Could not establish trust relationship for the SSL/TLS secure channel)”查了下MSDN,找到了解决方法,SSL网站,连接时需要提供证书,对于非必须提供客户端证书的情况,只要返回一个安全确认即可。但是此方法的实现,在.NET 1.1 和 .NET 2.0 下是不同的,下面写出2个framework版本下的实现方法:使用的命名空间:using System.Net;using System. 阅读全文
posted @ 2011-08-03 09:32 hotshopping88 阅读(458) 评论(0) 推荐(0)