mysql now format
snippet in sql

mysql now format

user1147

SELECT DATE_FORMAT(NOW(),'%Y-%m-%d %H-%i-%s')