Answers for "now() in mysql"

SQL
1

mysql now format

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

use of now() in mysql

NOW() : It will return current date and time. 

Ex: select NOW(); 	//YYYY-MM-DD HH-MM:SS

Output: 2021-09-13 15:35:41
Posted by: Guest on September-13-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language