mysql get date from datetime
snippet in sql

mysql get date from datetime

user6986

WHERE DATE(datetime) = '2009-10-20'

mysql current time

user4694

CURRENT_TIME return HH:ii:ss format time in mysql