标签:blog for 2014 div log ad sql c mysql
SELECT TIME(NOW()); -- 15:23:07 SELECT CURTIME(NOW());-- 15:23:07 SELECT ABS(-4); -- 4 SELECT 5 MOD 3; -- 2 SELECT CURDATE(); -- 2014-08-25 SELECT ADDDATE(CURDATE(), 1); -- 2014-08-26 SELECT DATE_ADD(CURDATE(),INTERVAL 1 DAY); -- 2014-08-26 SELECT DATEDIFF(‘2014-08-25‘, ‘2014-08-20‘); -- 5 SELECT DATE_FORMAT(NOW(), ‘%Y%m%d%H%i%s‘); -- 20140825152912
标签:blog for 2014 div log ad sql c mysql
原文地址:http://www.cnblogs.com/lovekingly/p/3935087.html