mysql zdobądź czas z datytymy
SELECT
date_format(datecol, '%H:%i:%s') as 'time' FROM table;
-- eg. 10:33:10
Azanda
SELECT
date_format(datecol, '%H:%i:%s') as 'time' FROM table;
-- eg. 10:33:10
SELECT DATE(ColumnName) FROM tablename;
CURRENT_TIME return HH:ii:ss format time in mysql
WHERE DATE(datetime) = '2009-10-20'