摘要: 1. 获取当前时间 select now(); // 2018-08-24 11:01:26 select unix_timestamp(); // 1535079695 总结:unix_timestamp返回的是时间戳,now返回的是默认格式的可读时间。 2. 获取过去几个小时的时间是多少 sel 阅读全文
posted @ 2018-08-29 17:22 bityinjd 阅读(623) 评论(0) 推荐(0) 编辑