Answers for "mysql result format"

SQL
1

mysql now format

SELECT DATE_FORMAT(NOW(),'%Y-%m-%d %H-%i-%s')
Posted by: Guest on March-06-2020
0

date format mysql

DECLARE df VARCHAR(20);
DECLARE dt VARCHAR(20);

SET df = DATE_FORMAT(_Datefrom,'%Y-%m-%d 00:00:00'); 
SET dt = DATE_FORMAT(_DateTo,'%Y-%m-%d 23:59:59');
Posted by: Guest on August-19-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language