RsD0p9BK
1/19/2016 - 5:30 AM

mysql__datediff.sql


SELECT DATEDIFF();
SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);

-- http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_str-to-date
-- https://toster.ru/q/39133