摘要: 阅读全文
posted @ 2014-10-08 11:52 悲惨的大爷 阅读(640) 评论(0) 推荐(0)
摘要: function getInfo(){var s = "";s += " 网页可见区域宽:"+ document.body.clientWidth;s += " 网页可见区域高:"+ document.body.clientHeight;s += " 网页可见区域宽:"+ document.body... 阅读全文
posted @ 2014-10-08 11:50 悲惨的大爷 阅读(253) 评论(0) 推荐(0)
摘要: time时间处理1.获取当前时间(时间戳)time.time()2.获取当前时间 (元组),参数是时间戳,默认是当前时间戳time.localtime(pams)3.把时间元组转换时间格式化time.strftime("%Y-%m-%d",时间元组)4.把时间格式化转换为时间元组time.strpt... 阅读全文
posted @ 2014-10-08 09:43 悲惨的大爷 阅读(390) 评论(0) 推荐(0)